ARM: Davinci: Fix I2C build errors
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Fri, 15 Apr 2011 12:32:40 +0000 (12:32 +0000)
committerSekhar Nori <nsekhar@ti.com>
Mon, 25 Apr 2011 08:49:32 +0000 (14:19 +0530)
commit45b146d746ea1b7f87b023a79d5186d0e87793eb
treea4cce83352292b2fd60f567bfd144888f6a90ac4
parent9e7d24f622fc57ff5d58af3d44ba503430148354
ARM: Davinci: Fix I2C build errors

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.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/Kconfig