Fix: Compilation failed due to changes in header file locations.
This commit is contained in:
parent
0282e54a74
commit
78db2e0a6e
1 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@
|
|||
#include <linux/syscore_ops.h>
|
||||
#include <dt-bindings/clock/rk3288-cru.h>
|
||||
#include "clk.h"
|
||||
#include <asm/psci.h>
|
||||
#include <linux/psci.h>
|
||||
|
||||
#define RK3288_GRF_SOC_CON(x) (0x244 + x * 4)
|
||||
#define RK3288_GRF_SOC_STATUS1 0x284
|
||||
|
|
@ -989,7 +989,7 @@ static void __init rk3288_common_init(struct device_node *np,
|
|||
rockchip_register_restart_notifier(ctx, RK3288_GLB_SRST_FST,
|
||||
rk3288_clk_shutdown);
|
||||
|
||||
if (!psci_smp_available())
|
||||
if (!psci_ops.cpu_on)
|
||||
register_syscore_ops(&rk3288_clk_syscore_ops);
|
||||
|
||||
rockchip_clk_of_add_provider(np, ctx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue