summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ep93xx
diff options
context:
space:
mode:
authorTodor Colov <todorcolov@gmail.com>2012-06-10 15:44:08 +0300
committerRyan Mallon <rmallon@gmail.com>2012-06-11 09:52:34 +1000
commit688df8f0b57ae2db5c4b998a59737618b9031592 (patch)
treea48e147374dd2f40e2f692c9b5985283643a85cf /arch/arm/mach-ep93xx
parentf8f5701bdaf9134b1f90e5044a82c66324d2073f (diff)
downloadblackbird-op-linux-688df8f0b57ae2db5c4b998a59737618b9031592.tar.gz
blackbird-op-linux-688df8f0b57ae2db5c4b998a59737618b9031592.zip
arm: ep93xx: Enable i2c support for ep9302
Enable i2c support for ep9302. i2c support is needed when external RTC is used. Signed-off-by: Todor Colov <todorcolov@gmail.com> Signed-off-by: Ryan Mallon <rmallon@gmail.com>
Diffstat (limited to 'arch/arm/mach-ep93xx')
-rw-r--r--arch/arm/mach-ep93xx/edb93xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-ep93xx/edb93xx.c b/arch/arm/mach-ep93xx/edb93xx.c
index d74c5cddb98b..3bb8e56969a5 100644
--- a/arch/arm/mach-ep93xx/edb93xx.c
+++ b/arch/arm/mach-ep93xx/edb93xx.c
@@ -91,8 +91,8 @@ static void __init edb93xx_register_i2c(void)
ep93xx_register_i2c(&edb93xx_i2c_gpio_data,
edb93xxa_i2c_board_info,
ARRAY_SIZE(edb93xxa_i2c_board_info));
- } else if (machine_is_edb9307() || machine_is_edb9312() ||
- machine_is_edb9315()) {
+ } else if (machine_is_edb9302() || machine_is_edb9307()
+ || machine_is_edb9312() || machine_is_edb9315()) {
ep93xx_register_i2c(&edb93xx_i2c_gpio_data,
edb93xx_i2c_board_info,
ARRAY_SIZE(edb93xx_i2c_board_info));
OpenPOWER on IntegriCloud