ARM: mach-shmobile: ag5evm needs CONFIG_I2C
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 30 Aug 2011 16:19:13 +0000 (16:19 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 4 Nov 2011 16:21:47 +0000 (01:21 +0900)
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 <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/Kconfig

index c1b45342e1fb432cfbd7d8e35612bfa701b18bf3..0828fab2b65c7aa910dcfbcd73e712a1c56f0b61 100644 (file)
@@ -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"