Procházet zdrojové kódy

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>
Todor Colov před 13 roky
rodič
revize
688df8f0b5
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      arch/arm/mach-ep93xx/edb93xx.c

+ 2 - 2
arch/arm/mach-ep93xx/edb93xx.c

@@ -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));