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>
This commit is contained in:
Todor Colov 2012-06-10 15:44:08 +03:00 committed by Ryan Mallon
parent f8f5701bda
commit 688df8f0b5
1 changed files with 2 additions and 2 deletions

View File

@ -91,8 +91,8 @@ static void __init edb93xx_register_i2c(void)
ep93xx_register_i2c(&edb93xx_i2c_gpio_data, ep93xx_register_i2c(&edb93xx_i2c_gpio_data,
edb93xxa_i2c_board_info, edb93xxa_i2c_board_info,
ARRAY_SIZE(edb93xxa_i2c_board_info)); ARRAY_SIZE(edb93xxa_i2c_board_info));
} else if (machine_is_edb9307() || machine_is_edb9312() || } else if (machine_is_edb9302() || machine_is_edb9307()
machine_is_edb9315()) { || machine_is_edb9312() || machine_is_edb9315()) {
ep93xx_register_i2c(&edb93xx_i2c_gpio_data, ep93xx_register_i2c(&edb93xx_i2c_gpio_data,
edb93xx_i2c_board_info, edb93xx_i2c_board_info,
ARRAY_SIZE(edb93xx_i2c_board_info)); ARRAY_SIZE(edb93xx_i2c_board_info));