arm: tegra: cardhu: Registering ISL29028 device
[linux-2.6.git] / arch / arm / mach-tegra / board-cardhu-sensors.c
index 86a8d44..2c4531a 100644 (file)
@@ -440,6 +440,12 @@ static void cardhu_mpuirq_init(void)
 #endif
 
 
+static struct i2c_board_info cardhu_i2c2_isl_board_info[] = {
+       {
+               I2C_BOARD_INFO("isl29028", 0x44),
+       }
+};
+
 int __init cardhu_sensors_init(void)
 {
        int err;
@@ -463,6 +469,9 @@ int __init cardhu_sensors_init(void)
        i2c_register_board_info(4, cardhu_i2c4_board_info,
                ARRAY_SIZE(cardhu_i2c4_board_info));
 
+       i2c_register_board_info(2, cardhu_i2c2_isl_board_info,
+               ARRAY_SIZE(cardhu_i2c2_isl_board_info));
+
        err = cardhu_nct1008_init();
        if (err)
                return err;