From: Arnd Bergmann Date: Fri, 22 May 2015 14:22:16 +0000 (+0200) Subject: video: omap/h3: fix tps65010 dependency X-Git-Tag: omap-for-v4.2/fixes-rc1^2~148^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee62eddb1a80e86ccbbbff5a8ecf4c2a2ccf95c9;p=pandora-kernel.git 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 Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed