diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-05-22 10:22:16 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-05-27 05:54:47 -0400 |
commit | ee62eddb1a80e86ccbbbff5a8ecf4c2a2ccf95c9 (patch) | |
tree | 0daa7abb93752068c0a3e3d419675a109988dd6a | |
parent | c2b00024bc6f3408b0facc87227383e633131900 (diff) |
video: omap/h3: fix tps65010 dependency
The h3 LCD driver fails to link when tps65010 is configured
as a loadable module:
drivers/built-in.o: In function `h3_panel_disable':
debugfs.c:(.text+0x206ac): undefined reference to `tps65010_set_gpio_out_value'
debugfs.c:(.text+0x206cc): undefined reference to `tps65010_set_gpio_out_value'
drivers/built-in.o: In function `h3_panel_enable':
debugfs.c:(.text+0x206e0): undefined reference to `tps65010_set_gpio_out_value'
debugfs.c:(.text+0x20704): undefined reference to `tps65010_set_gpio_out_value'
This clarifies the dependency so we can only select it if
the dependnecy is built-in.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r-- | drivers/video/fbdev/omap/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/omap/Kconfig b/drivers/video/fbdev/omap/Kconfig index 18c4cb0d5690..29d250da8a3e 100644 --- a/drivers/video/fbdev/omap/Kconfig +++ b/drivers/video/fbdev/omap/Kconfig | |||
@@ -42,7 +42,7 @@ config FB_OMAP_LCD_MIPID | |||
42 | config FB_OMAP_LCD_H3 | 42 | config FB_OMAP_LCD_H3 |
43 | bool "TPS65010 LCD controller on OMAP-H3" | 43 | bool "TPS65010 LCD controller on OMAP-H3" |
44 | depends on MACH_OMAP_H3 | 44 | depends on MACH_OMAP_H3 |
45 | depends on TPS65010 | 45 | depends on TPS65010=y |
46 | default y | 46 | default y |
47 | help | 47 | help |
48 | Say Y here if you want to have support for the LCD on the | 48 | Say Y here if you want to have support for the LCD on the |