You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
Fix: Compilation failed due to changes in header file locations.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user