rk: arm64: disable set pm_power_off for compatible with old pmic driver
authorHuang, Tao <huangtao@rock-chips.com>
Mon, 23 Mar 2015 09:16:25 +0000 (17:16 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 23 Mar 2015 09:16:25 +0000 (17:16 +0800)
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
arch/arm64/kernel/psci.c

index aef7952149298af84848007dd0884bf86c1a234d..1cf83c2033e119b123a68f79c5af980e219bba7e 100644 (file)
@@ -359,9 +359,11 @@ static int __init psci_0_2_init(struct device_node *np)
                PSCI_0_2_FN_MIGRATE_INFO_TYPE;
        psci_ops.migrate_info_type = psci_migrate_info_type;
 
+#ifndef CONFIG_ARCH_ROCKCHIP
        arm_pm_restart = psci_sys_reset;
 
        pm_power_off = psci_sys_poweroff;
+#endif
 
 out_put_node:
        of_node_put(np);