[PATCH -mmotm] backlight: fix s6e63m0 kconfig
From: Randy Dunlap
Date: Thu May 20 2010 - 17:10:04 EST
From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
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@xxxxxxxxxx>
Cc: InKi Dae <inki.dae@xxxxxxxxxxx>
Cc: Richard Purdie <rpurdie@xxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/