ARM: tegra: pluto: Do not register I2C3 from board file
Chaitanya Bandi [Thu, 18 Apr 2013 01:06:10 +0000 (18:06 -0700)]
As I2C3 device is being registered through device tree,
removing its registration in board file.

Change-Id: I881aebca603de980c7329135886bbebbb734cb4c
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/220411
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

arch/arm/mach-tegra/board-pluto.c

index cf7df8d..ade5ffe 100644 (file)
@@ -341,7 +341,9 @@ static void pluto_i2c_init(void)
 
        platform_device_register(&tegra11_i2c_device5);
        platform_device_register(&tegra11_i2c_device4);
+#ifndef CONFIG_OF
        platform_device_register(&tegra11_i2c_device3);
+#endif
        platform_device_register(&tegra11_i2c_device2);
        platform_device_register(&tegra11_i2c_device1);