Bruno Prémont 5435f2818e 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>
2010-04-11 20:26:46 +02:00
..
2010-03-15 16:00:47 -07:00
2010-03-17 18:43:47 -07:00
2010-03-06 11:26:28 -08:00
2010-03-17 14:22:07 -07:00
2010-03-15 11:13:15 +09:00
2010-03-14 20:08:38 -04:00
2010-03-12 15:52:43 -08:00
2010-03-07 22:17:08 +01:00
2010-03-14 20:28:39 -07:00
2010-03-17 18:43:47 -07:00
2010-03-07 17:04:51 -08:00
2010-03-06 11:26:28 -08:00