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:
parent
f8f5701bda
commit
688df8f0b5
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue