kernel-ark/drivers/video/omap
Jarkko Nikula 08a0a65794 omapfb: Fix linker error in drivers/video/omap/lcd_2430sdp.c
There is a linker error from lcd_2430sdp.c if CONFIG_TWL4030_CORE is not
set. This can be triggered on OMAP2 builds when OMAP3 or OMAP4 are not set.

drivers/built-in.o: In function `sdp2430_panel_disable':
drivers/video/omap/lcd_2430sdp.c:123: undefined reference to `twl_i2c_write_u8'
drivers/video/omap/lcd_2430sdp.c:124: undefined reference to `twl_i2c_write_u8'
drivers/built-in.o: In function `sdp2430_panel_enable':
drivers/video/omap/lcd_2430sdp.c:110: undefined reference to `twl_i2c_write_u8'
drivers/video/omap/lcd_2430sdp.c:112: undefined reference to `twl_i2c_write_u8'

Fix this by selecting the TWL4030_CORE for MACH_OMAP_2430SDP when building
with CONFIG_FB_OMAP as there is no own Kconfig entry for lcd_2430 and it is
compiled always when both MACH_OMAP_2430SDP and FB_OMAP are set.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2011-03-11 15:46:26 +02:00
..
blizzard.c
dispc.c
dispc.h
hwa742.c
Kconfig omapfb: Fix linker error in drivers/video/omap/lcd_2430sdp.c 2011-03-11 15:46:26 +02:00
lcd_2430sdp.c
lcd_ams_delta.c
lcd_apollon.c
lcd_h3.c
lcd_h4.c
lcd_htcherald.c
lcd_inn1510.c
lcd_inn1610.c
lcd_ldp.c
lcd_mipid.c
lcd_omap2evm.c
lcd_omap3beagle.c
lcd_omap3evm.c
lcd_osk.c
lcd_overo.c
lcd_palmte.c
lcd_palmtt.c
lcd_palmz71.c
lcdc.c
lcdc.h
Makefile
omapfb_main.c
omapfb.h
rfbi.c
sossi.c