Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Arnd Bergmann and committed by
Tomi Valkeinen
ee62eddb c2b00024

+1 -1
+1 -1
drivers/video/fbdev/omap/Kconfig
··· 42 42 config FB_OMAP_LCD_H3 43 43 bool "TPS65010 LCD controller on OMAP-H3" 44 44 depends on MACH_OMAP_H3 45 - depends on TPS65010 45 + depends on TPS65010=y 46 46 default y 47 47 help 48 48 Say Y here if you want to have support for the LCD on the