From: Randy Dunlap on 20 May 2010 17:20 From: Randy Dunlap <randy.dunlap(a)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(a)oracle.com> Cc: InKi Dae <inki.dae(a)samsung.com> Cc: Richard Purdie <rpurdie(a)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 # -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: [PATCH -mmotm] media: ak881x needs slab.h Next: reduce runqueue lock contention |