@@ -399,6 +399,15 @@ static struct i2c_board_info __initdata
},
};
+static int __init ap325rxa_devices_i2c_setup(void)
+{
+ i2c_register_board_info(0, ap325rxa_i2c_devices,
+ ARRAY_SIZE(ap325rxa_i2c_devices));
+
+ return 0;
+}
+arch_initcall(ap325rxa_devices_i2c_setup);
+
static struct i2c_board_info ap325rxa_i2c_camera[] = {
{
I2C_BOARD_INFO("ov772x", 0x21),
@@ -538,9 +547,6 @@ static int __init ap325rxa_devices_setup
platform_resource_setup_memory(&ceu_device, "ceu", 4 << 20);
- i2c_register_board_info(0, ap325rxa_i2c_devices,
- ARRAY_SIZE(ap325rxa_i2c_devices));
-
spi_register_board_info(ap325rxa_spi_devices,
ARRAY_SIZE(ap325rxa_spi_devices));