ARM: tegra: add machine check for fix reg init
[linux-3.10.git] / arch / arm / mach-tegra / board-dalmore-power.c
index 9b12b5d..3acf156 100644 (file)
@@ -1193,7 +1193,7 @@ static int __init dalmore_fixed_regulator_init(void)
        struct board_info board_info;
        u8 power_config;
 
-       if (!machine_is_dalmore())
+       if (!of_machine_is_compatible("nvidia,dalmore"))
                return 0;
 
        power_config = get_power_config();