forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/include/soc/rockchip/rockchip-system-status.h
....@@ -6,7 +6,9 @@
66 #ifndef __SOC_ROCKCHIP_SYSTEM_STATUS_H
77 #define __SOC_ROCKCHIP_SYSTEM_STATUS_H
88
9
-#if IS_ENABLED(CONFIG_ROCKCHIP_SYSTEM_MONITOR)
9
+#include <dt-bindings/soc/rockchip-system-status.h>
10
+
11
+#if IS_REACHABLE(CONFIG_ROCKCHIP_SYSTEM_MONITOR)
1012 int rockchip_register_system_status_notifier(struct notifier_block *nb);
1113 int rockchip_unregister_system_status_notifier(struct notifier_block *nb);
1214 void rockchip_set_system_status(unsigned long status);