diff mbox

ARM: mach-shmobile: ag5evm needs CONFIG_I2C

Message ID Pine.LNX.4.64.1108301815210.19151@axis700.grange (mailing list archive)
State Accepted
Commit 06d28303f9f6d591665e266c4b1ab3ab6805e222
Headers show

Commit Message

Guennadi Liakhovetski Aug. 30, 2011, 4:19 p.m. UTC
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(-)

Comments

Paul Mundt Sept. 5, 2011, 4:19 a.m. UTC | #1
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 mbox

Patch

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"