[PATCH] ARM: Davinci: Fix I2C build errors

Nori, Sekhar nsekhar at ti.com
Fri Apr 15 10:39:23 EDT 2011


Hi Russell,

On Fri, Apr 15, 2011 at 18:09:24, Russell King - ARM Linux wrote:
> On Fri, Apr 15, 2011 at 01:32:40PM +0100, Russell King - ARM Linux wrote:
> > Several Davinci platforms select the I2C EEPROM support, but don't
> > select I2C support.  This causes I2C EEPROM support to be built into
> > the kernel, but I2C support may not be configured to be built in.
> > This leads to linker errors due to missing I2C symbols.
> > 
> > Arrange for I2C to be selected whenever EEPROM_AT24 is selected.
> 
> Although this fixes I2C build errors, it leaves these errors:
> 
> arch/arm/mach-davinci/built-in.o: In function `phy_read':
> include/linux/phy.h:454: undefined reference to `mdiobus_read'
> arch/arm/mach-davinci/built-in.o: In function `phy_write':
> include/linux/phy.h:469: undefined reference to `mdiobus_write'
> arch/arm/mach-davinci/built-in.o: In function `davinci_evm_init':
> arch/arm/mach-davinci/board-dm644x-evm.c:708: undefined reference to `phy_register_fixup_for_uid'
> 
> which also look like a configuration problem.

Will send out a fix for this.

Thanks,
Sekhar




More information about the linux-arm-kernel mailing list