backlight: Fix Kconfig entries
authorRichard Purdie <rpurdie@rpsys.net>
Fri, 9 Feb 2007 09:40:30 +0000 (09:40 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Tue, 20 Feb 2007 08:38:45 +0000 (08:38 +0000)
Currently its possible to build the backlight core as a module yet
compile the drivers into the kernel which gives missing symbols.

Fix.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
drivers/video/backlight/Kconfig

index cda3239..47d15b5 100644 (file)
@@ -19,11 +19,6 @@ config BACKLIGHT_CLASS_DEVICE
          To have support for your specific LCD panel you will have to
          select the proper drivers which depend on this option.
 
-config BACKLIGHT_DEVICE
-       bool
-       depends on BACKLIGHT_CLASS_DEVICE
-       default y
-
 config LCD_CLASS_DEVICE
         tristate "Lowlevel LCD controls"
        depends on BACKLIGHT_LCD_SUPPORT
@@ -37,14 +32,9 @@ config LCD_CLASS_DEVICE
          To have support for your specific LCD panel you will have to
          select the proper drivers which depend on this option.
 
-config LCD_DEVICE
-       bool
-       depends on LCD_CLASS_DEVICE
-       default y
-
 config BACKLIGHT_CORGI
        tristate "Sharp Corgi Backlight Driver (SL Series)"
-       depends on BACKLIGHT_DEVICE && PXA_SHARPSL
+       depends on BACKLIGHT_CLASS_DEVICE && PXA_SHARPSL
        default y
        help
          If you have a Sharp Zaurus SL-C7xx, SL-Cxx00 or SL-6000x say y to enable the
@@ -52,7 +42,7 @@ config BACKLIGHT_CORGI
 
 config BACKLIGHT_LOCOMO
        tristate "Sharp LOCOMO LCD/Backlight Driver"
-       depends on BACKLIGHT_DEVICE && SHARP_LOCOMO
+       depends on BACKLIGHT_CLASS_DEVICE && SHARP_LOCOMO
        default y
        help
          If you have a Sharp Zaurus SL-5500 (Collie) or SL-5600 (Poodle) say y to
@@ -60,7 +50,7 @@ config BACKLIGHT_LOCOMO
 
 config BACKLIGHT_HP680
        tristate "HP Jornada 680 Backlight Driver"
-       depends on BACKLIGHT_DEVICE && SH_HP6XX
+       depends on BACKLIGHT_CLASS_DEVICE && SH_HP6XX
        default y
        help
          If you have a HP Jornada 680, say y to enable the
@@ -68,9 +58,8 @@ config BACKLIGHT_HP680
 
 config BACKLIGHT_PROGEAR
        tristate "Frontpath ProGear Backlight Driver"
-       depends on BACKLIGHT_DEVICE && PCI && X86
+       depends on BACKLIGHT_CLASS_DEVICE && PCI && X86
        default n
        help
          If you have a Frontpath ProGear say Y to enable the
          backlight driver.
-