From: Guennadi Liakhovetski Date: Tue, 30 Aug 2011 16:19:13 +0000 (+0000) Subject: ARM: mach-shmobile: ag5evm needs CONFIG_I2C X-Git-Tag: v3.2-rc1~33^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99f8bd8556ad829e042e66c1b25a35f1bcc38981;p=profile%2Fivi%2Fkernel-x86-ivi.git ARM: mach-shmobile: ag5evm needs CONFIG_I2C ag5evm implements a backlight control, using an I2C controller, therefore it needs CONFIG_I2C to fix this make failure arch/arm/mach-shmobile/built-in.o: In function `lcd_on': pfc-sh73a0.c:(.text+0x2334): undefined reference to `i2c_get_adapter' pfc-sh73a0.c:(.text+0x2370): undefined reference to `i2c_transfer' (ignore pfc-sh73a0.c) and to build successfully. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Paul Mundt --- diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index c1b4534..0828fab 100644 --- a/arch/arm/mach-shmobile/Kconfig +++ b/arch/arm/mach-shmobile/Kconfig @@ -26,6 +26,7 @@ config ARCH_SH73A0 select SH_CLK_CPG select ARCH_WANT_OPTIONAL_GPIOLIB select ARM_GIC + select I2C comment "SH-Mobile Board Type"