|
@@ -178,7 +178,8 @@ static void __init rockchip_smp_prepare_cpus(unsigned int max_cpus)
|
|
|
pmu_set_power_domain(0 + i, false);
|
|
|
}
|
|
|
|
|
|
-struct smp_operations rockchip_smp_ops __initdata = {
|
|
|
+static struct smp_operations rockchip_smp_ops __initdata = {
|
|
|
.smp_prepare_cpus = rockchip_smp_prepare_cpus,
|
|
|
.smp_boot_secondary = rockchip_boot_secondary,
|
|
|
};
|
|
|
+CPU_METHOD_OF_DECLARE(rk3066_smp, "rockchip,rk3066-smp", &rockchip_smp_ops);
|