Commit 688df8f0 authored by Todor Colov's avatar Todor Colov Committed by Ryan Mallon

arm: ep93xx: Enable i2c support for ep9302

Enable i2c support for ep9302. i2c support is needed when external RTC is
used.
Signed-off-by: default avatarTodor Colov <todorcolov@gmail.com>
Signed-off-by: default avatarRyan Mallon <rmallon@gmail.com>
parent f8f5701b
...@@ -91,8 +91,8 @@ static void __init edb93xx_register_i2c(void) ...@@ -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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment