Messages in this thread Patch in this message | | | Date | Thu, 20 May 2010 14:08:29 -0700 | From | Randy Dunlap <> | Subject | [PATCH -mmotm] backlight: fix s6e63m0 kconfig |
| |
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix kconfig file dependency and help text. Move the driver's Kconfig symbol inside the LCD_CLASS_DEVICE block.
When CONFIG_BACKLIGHT_CLASS_DEVICE is not enabled: ERROR: "backlight_device_register" [drivers/video/backlight/s6e63m0.ko] undefined!
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: InKi Dae <inki.dae@samsung.com> Cc: Richard Purdie <rpurdie@rpsys.net> --- Looks like several backlight/LCD drivers have this kind of relationship.
drivers/video/backlight/Kconfig | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
--- mmotm-2010-0519-1612.orig/drivers/video/backlight/Kconfig +++ mmotm-2010-0519-1612/drivers/video/backlight/Kconfig @@ -101,14 +101,16 @@ config LCD_HP700 If you have an HP Jornada 700 series handheld (710/720/728) say Y to enable LCD control driver. -endif # LCD_CLASS_DEVICE - config LCD_S6E63M0 tristate "S6E63M0 AMOLED LCD Driver" - depends on LCD_CLASS_DEVICE && SPI + depends on SPI && BACKLIGHT_CLASS_DEVICE default n help - If you have an S6E63M0 LCD Panel say Y to enable LCD control driver + If you have an S6E63M0 LCD Panel, say Y to enable its + LCD control driver. + +endif # LCD_CLASS_DEVICE + # # Backlight #
| |