Commit 34f18a71 authored by Richard Purdie's avatar Richard Purdie

backlight: Fix Kconfig entries

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: default avatarRichard Purdie <rpurdie@rpsys.net>
parent 1cfc97f2
...@@ -19,11 +19,6 @@ config BACKLIGHT_CLASS_DEVICE ...@@ -19,11 +19,6 @@ config BACKLIGHT_CLASS_DEVICE
To have support for your specific LCD panel you will have to To have support for your specific LCD panel you will have to
select the proper drivers which depend on this option. select the proper drivers which depend on this option.
config BACKLIGHT_DEVICE
bool
depends on BACKLIGHT_CLASS_DEVICE
default y
config LCD_CLASS_DEVICE config LCD_CLASS_DEVICE
tristate "Lowlevel LCD controls" tristate "Lowlevel LCD controls"
depends on BACKLIGHT_LCD_SUPPORT depends on BACKLIGHT_LCD_SUPPORT
...@@ -37,14 +32,9 @@ config LCD_CLASS_DEVICE ...@@ -37,14 +32,9 @@ config LCD_CLASS_DEVICE
To have support for your specific LCD panel you will have to To have support for your specific LCD panel you will have to
select the proper drivers which depend on this option. select the proper drivers which depend on this option.
config LCD_DEVICE
bool
depends on LCD_CLASS_DEVICE
default y
config BACKLIGHT_CORGI config BACKLIGHT_CORGI
tristate "Sharp Corgi Backlight Driver (SL Series)" tristate "Sharp Corgi Backlight Driver (SL Series)"
depends on BACKLIGHT_DEVICE && PXA_SHARPSL depends on BACKLIGHT_CLASS_DEVICE && PXA_SHARPSL
default y default y
help help
If you have a Sharp Zaurus SL-C7xx, SL-Cxx00 or SL-6000x say y to enable the 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 ...@@ -52,7 +42,7 @@ config BACKLIGHT_CORGI
config BACKLIGHT_LOCOMO config BACKLIGHT_LOCOMO
tristate "Sharp LOCOMO LCD/Backlight Driver" tristate "Sharp LOCOMO LCD/Backlight Driver"
depends on BACKLIGHT_DEVICE && SHARP_LOCOMO depends on BACKLIGHT_CLASS_DEVICE && SHARP_LOCOMO
default y default y
help help
If you have a Sharp Zaurus SL-5500 (Collie) or SL-5600 (Poodle) say y to If you have a Sharp Zaurus SL-5500 (Collie) or SL-5600 (Poodle) say y to
...@@ -60,7 +50,7 @@ config BACKLIGHT_LOCOMO ...@@ -60,7 +50,7 @@ config BACKLIGHT_LOCOMO
config BACKLIGHT_HP680 config BACKLIGHT_HP680
tristate "HP Jornada 680 Backlight Driver" tristate "HP Jornada 680 Backlight Driver"
depends on BACKLIGHT_DEVICE && SH_HP6XX depends on BACKLIGHT_CLASS_DEVICE && SH_HP6XX
default y default y
help help
If you have a HP Jornada 680, say y to enable the If you have a HP Jornada 680, say y to enable the
...@@ -68,9 +58,8 @@ config BACKLIGHT_HP680 ...@@ -68,9 +58,8 @@ config BACKLIGHT_HP680
config BACKLIGHT_PROGEAR config BACKLIGHT_PROGEAR
tristate "Frontpath ProGear Backlight Driver" tristate "Frontpath ProGear Backlight Driver"
depends on BACKLIGHT_DEVICE && PCI && X86 depends on BACKLIGHT_CLASS_DEVICE && PCI && X86
default n default n
help help
If you have a Frontpath ProGear say Y to enable the If you have a Frontpath ProGear say Y to enable the
backlight driver. backlight driver.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment