Message ID | Pine.LNX.4.64.1108301815210.19151@axis700.grange (mailing list archive) |
---|---|
State | Accepted |
Commit | 06d28303f9f6d591665e266c4b1ab3ab6805e222 |
Headers | show |
On Tue, Aug 30, 2011 at 06:19:13PM +0200, Guennadi Liakhovetski wrote: > 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> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index 0c8f6cf..f68856c 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"
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> --- arch/arm/mach-shmobile/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)