diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2007-02-09 04:40:30 -0500 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2007-02-20 03:38:45 -0500 |
commit | 34f18a71d9bc55e8210c3fe02938336f82f40b30 (patch) | |
tree | 8e95cb30288c5d0831adfaf13cecc39bcb1402a4 | |
parent | 1cfc97f21f6ab91df8d5617fcbf758322fdd238b (diff) |
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: Richard Purdie <rpurdie@rpsys.net>
-rw-r--r-- | drivers/video/backlight/Kconfig | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig index cda32399c039..47d15b5d985a 100644 --- a/drivers/video/backlight/Kconfig +++ b/drivers/video/backlight/Kconfig | |||
@@ -19,11 +19,6 @@ config BACKLIGHT_CLASS_DEVICE | |||
19 | To have support for your specific LCD panel you will have to | 19 | To have support for your specific LCD panel you will have to |
20 | select the proper drivers which depend on this option. | 20 | select the proper drivers which depend on this option. |
21 | 21 | ||
22 | config BACKLIGHT_DEVICE | ||
23 | bool | ||
24 | depends on BACKLIGHT_CLASS_DEVICE | ||
25 | default y | ||
26 | |||
27 | config LCD_CLASS_DEVICE | 22 | config LCD_CLASS_DEVICE |
28 | tristate "Lowlevel LCD controls" | 23 | tristate "Lowlevel LCD controls" |
29 | depends on BACKLIGHT_LCD_SUPPORT | 24 | depends on BACKLIGHT_LCD_SUPPORT |
@@ -37,14 +32,9 @@ config LCD_CLASS_DEVICE | |||
37 | To have support for your specific LCD panel you will have to | 32 | To have support for your specific LCD panel you will have to |
38 | select the proper drivers which depend on this option. | 33 | select the proper drivers which depend on this option. |
39 | 34 | ||
40 | config LCD_DEVICE | ||
41 | bool | ||
42 | depends on LCD_CLASS_DEVICE | ||
43 | default y | ||
44 | |||
45 | config BACKLIGHT_CORGI | 35 | config BACKLIGHT_CORGI |
46 | tristate "Sharp Corgi Backlight Driver (SL Series)" | 36 | tristate "Sharp Corgi Backlight Driver (SL Series)" |
47 | depends on BACKLIGHT_DEVICE && PXA_SHARPSL | 37 | depends on BACKLIGHT_CLASS_DEVICE && PXA_SHARPSL |
48 | default y | 38 | default y |
49 | help | 39 | help |
50 | If you have a Sharp Zaurus SL-C7xx, SL-Cxx00 or SL-6000x say y to enable the | 40 | 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 | 42 | ||
53 | config BACKLIGHT_LOCOMO | 43 | config BACKLIGHT_LOCOMO |
54 | tristate "Sharp LOCOMO LCD/Backlight Driver" | 44 | tristate "Sharp LOCOMO LCD/Backlight Driver" |
55 | depends on BACKLIGHT_DEVICE && SHARP_LOCOMO | 45 | depends on BACKLIGHT_CLASS_DEVICE && SHARP_LOCOMO |
56 | default y | 46 | default y |
57 | help | 47 | help |
58 | If you have a Sharp Zaurus SL-5500 (Collie) or SL-5600 (Poodle) say y to | 48 | If you have a Sharp Zaurus SL-5500 (Collie) or SL-5600 (Poodle) say y to |
@@ -60,7 +50,7 @@ config BACKLIGHT_LOCOMO | |||
60 | 50 | ||
61 | config BACKLIGHT_HP680 | 51 | config BACKLIGHT_HP680 |
62 | tristate "HP Jornada 680 Backlight Driver" | 52 | tristate "HP Jornada 680 Backlight Driver" |
63 | depends on BACKLIGHT_DEVICE && SH_HP6XX | 53 | depends on BACKLIGHT_CLASS_DEVICE && SH_HP6XX |
64 | default y | 54 | default y |
65 | help | 55 | help |
66 | If you have a HP Jornada 680, say y to enable the | 56 | If you have a HP Jornada 680, say y to enable the |
@@ -68,9 +58,8 @@ config BACKLIGHT_HP680 | |||
68 | 58 | ||
69 | config BACKLIGHT_PROGEAR | 59 | config BACKLIGHT_PROGEAR |
70 | tristate "Frontpath ProGear Backlight Driver" | 60 | tristate "Frontpath ProGear Backlight Driver" |
71 | depends on BACKLIGHT_DEVICE && PCI && X86 | 61 | depends on BACKLIGHT_CLASS_DEVICE && PCI && X86 |
72 | default n | 62 | default n |
73 | help | 63 | help |
74 | If you have a Frontpath ProGear say Y to enable the | 64 | If you have a Frontpath ProGear say Y to enable the |
75 | backlight driver. | 65 | backlight driver. |
76 | |||