arm: tegra: cardhu: no gyro in beaver
Bibek Basu [Wed, 16 Jan 2013 04:59:56 +0000 (09:59 +0530)]
Add support for PM315

Bug 1217569

Change-Id: I230fcec04eb5a96441e2c19b304d608d86eaf996
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/191555
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>

arch/arm/mach-tegra/board-cardhu-sensors.c

index 365da60..08ad0d5 100644 (file)
@@ -1131,7 +1131,8 @@ int __init cardhu_sensors_init(void)
        i2c_register_board_info(4, cardhu_i2c4_nct1008_board_info,
                ARRAY_SIZE(cardhu_i2c4_nct1008_board_info));
 
-       mpuirq_init();
+       if (board_info.board_id != BOARD_PM315)
+               mpuirq_init();
        return 0;
 }