aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ep93xx
diff options
context:
space:
mode:
authorTodor Colov <todorcolov@gmail.com>2012-06-10 08:44:08 -0400
committerRyan Mallon <rmallon@gmail.com>2012-06-10 19:52:34 -0400
commit688df8f0b57ae2db5c4b998a59737618b9031592 (patch)
treea48e147374dd2f40e2f692c9b5985283643a85cf /arch/arm/mach-ep93xx
parentf8f5701bdaf9134b1f90e5044a82c66324d2073f (diff)
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)
91 ep93xx_register_i2c(&edb93xx_i2c_gpio_data, 91 ep93xx_register_i2c(&edb93xx_i2c_gpio_data,
92 edb93xxa_i2c_board_info, 92 edb93xxa_i2c_board_info,
93 ARRAY_SIZE(edb93xxa_i2c_board_info)); 93 ARRAY_SIZE(edb93xxa_i2c_board_info));
94 } else if (machine_is_edb9307() || machine_is_edb9312() || 94 } else if (machine_is_edb9302() || machine_is_edb9307()
95 machine_is_edb9315()) { 95 || machine_is_edb9312() || machine_is_edb9315()) {
96 ep93xx_register_i2c(&edb93xx_i2c_gpio_data, 96 ep93xx_register_i2c(&edb93xx_i2c_gpio_data,
97 edb93xx_i2c_board_info, 97 edb93xx_i2c_board_info,
98 ARRAY_SIZE(edb93xx_i2c_board_info)); 98 ARRAY_SIZE(edb93xx_i2c_board_info));