diff options
author | Bruno Prémont <bonbons@linux-vserver.org> | 2010-04-11 12:17:45 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-04-11 20:26:46 +0200 |
commit | 5435f2818ea08bcb381dcd2a99b1607b2a42f329 (patch) | |
tree | 493f43cc5458e494a45d28ff776eea40880cb6c3 /virt/kvm | |
parent | HID: picolcd: fix build failure (diff) | |
download | linux-5435f2818ea08bcb381dcd2a99b1607b2a42f329.tar.xz linux-5435f2818ea08bcb381dcd2a99b1607b2a42f329.zip |
HID: hid-picolcd depends on LCD_CLASS_DEVICE
HID_PICOLCD should depend on LCD_CLASS_DEVICE, otherwise the
build fails when HID_PICOLCD=y and LCD_CLASS_DEVICE=m:
hid-picolcd.c:(.text+0x84523f): undefined reference to `lcd_device_unregister'
hid-picolcd.c:(.text+0x8478ab): undefined reference to `lcd_device_register'
hid-picolcd.c:(.text+0x84c15f): undefined reference to `lcd_device_unregister'
Same applies to FB, BACKLIGHT_CLASS_DEVICE and LEDS_CLASS.
Add suboptions for those features to handle the deps on kbuild side
and just check HID_PICOLCD_* in the code.
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions