Fix: Compilation failed due to changes in header file locations.

This commit is contained in:
ghhccghk 2025-11-21 21:07:34 +08:00 committed by Jianfeng Liu
parent 0282e54a74
commit 78db2e0a6e

View file

@ -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);