ARM: tegra: add machine check for fix reg init
[linux-3.10.git] / arch / arm / mach-tegra / board-pluto-power.c
index c0060c6..9bab074 100644 (file)
@@ -723,7 +723,7 @@ int __init pluto_regulator_init(void)
 
 static int __init pluto_fixed_regulator_init(void)
 {
-       if (!machine_is_tegra_pluto())
+       if (!of_machine_is_compatible("nvidia,pluto"))
                return 0;
 
        return platform_add_devices(pfixed_reg_devs,