aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/displays
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2011-10-02 10:45:33 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-10-03 06:28:14 -0400
commit28748782b736b1a87bd1224d678e416a8375ea13 (patch)
tree30dd5ff6943a29832ded272b84aba1148ca87906 /drivers/video/omap2/displays
parentda91e89fb2f582d75324a64fbf0b6aa91a5e6280 (diff)
video/omap: fix build dependencies
Four of the LCD panel drivers depend on the backlight class, so add the dependency in Kconfig. Selecting the BACKLIGHT_CLASS_DEVICE symbol does not generally work since it has other dependencies. Signed-off-by: Arnd Bergmann <arnd@arndb.de> [tomi.valkeinen@ti.com: changed also N8x0 panel] Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/displays')
-rw-r--r--drivers/video/omap2/displays/Kconfig9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/video/omap2/displays/Kconfig b/drivers/video/omap2/displays/Kconfig
index 0760c0448a06..8d8e1fe1901c 100644
--- a/drivers/video/omap2/displays/Kconfig
+++ b/drivers/video/omap2/displays/Kconfig
@@ -26,13 +26,15 @@ config PANEL_LGPHILIPS_LB035Q02
26config PANEL_SHARP_LS037V7DW01 26config PANEL_SHARP_LS037V7DW01
27 tristate "Sharp LS037V7DW01 LCD Panel" 27 tristate "Sharp LS037V7DW01 LCD Panel"
28 depends on OMAP2_DSS_DPI 28 depends on OMAP2_DSS_DPI
29 select BACKLIGHT_CLASS_DEVICE 29 depends on BACKLIGHT_CLASS_DEVICE
30 help 30 help
31 LCD Panel used in TI's SDP3430 and EVM boards 31 LCD Panel used in TI's SDP3430 and EVM boards
32 32
33config PANEL_NEC_NL8048HL11_01B 33config PANEL_NEC_NL8048HL11_01B
34 tristate "NEC NL8048HL11-01B Panel" 34 tristate "NEC NL8048HL11-01B Panel"
35 depends on OMAP2_DSS_DPI 35 depends on OMAP2_DSS_DPI
36 depends on SPI
37 depends on BACKLIGHT_CLASS_DEVICE
36 help 38 help
37 This NEC NL8048HL11-01B panel is TFT LCD 39 This NEC NL8048HL11-01B panel is TFT LCD
38 used in the Zoom2/3/3630 sdp boards. 40 used in the Zoom2/3/3630 sdp boards.
@@ -47,6 +49,7 @@ config PANEL_PICODLP
47config PANEL_TAAL 49config PANEL_TAAL
48 tristate "Taal DSI Panel" 50 tristate "Taal DSI Panel"
49 depends on OMAP2_DSS_DSI 51 depends on OMAP2_DSS_DSI
52 depends on BACKLIGHT_CLASS_DEVICE
50 help 53 help
51 Taal DSI command mode panel from TPO. 54 Taal DSI command mode panel from TPO.
52 55
@@ -59,14 +62,14 @@ config PANEL_TPO_TD043MTEA1
59config PANEL_ACX565AKM 62config PANEL_ACX565AKM
60 tristate "ACX565AKM Panel" 63 tristate "ACX565AKM Panel"
61 depends on OMAP2_DSS_SDI && SPI 64 depends on OMAP2_DSS_SDI && SPI
62 select BACKLIGHT_CLASS_DEVICE 65 depends on BACKLIGHT_CLASS_DEVICE
63 help 66 help
64 This is the LCD panel used on Nokia N900 67 This is the LCD panel used on Nokia N900
65 68
66config PANEL_N8X0 69config PANEL_N8X0
67 tristate "N8X0 Panel" 70 tristate "N8X0 Panel"
68 depends on OMAP2_DSS_RFBI && SPI 71 depends on OMAP2_DSS_RFBI && SPI
69 select BACKLIGHT_CLASS_DEVICE 72 depends on BACKLIGHT_CLASS_DEVICE
70 help 73 help
71 This is the LCD panel used on Nokia N8x0 74 This is the LCD panel used on Nokia N8x0
72endmenu 75endmenu