arm: ep93xx: Enable i2c support for ep9302
authorTodor Colov <todorcolov@gmail.com>
Sun, 10 Jun 2012 12:44:08 +0000 (15:44 +0300)
committerRyan Mallon <rmallon@gmail.com>
Sun, 10 Jun 2012 23:52:34 +0000 (09:52 +1000)
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>
arch/arm/mach-ep93xx/edb93xx.c

index d74c5cddb98b654972ae986489f90c0e700aa190..3bb8e56969a5d138f41339df30edbd173bf06619 100644 (file)
@@ -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));