From 10ebd8556b7990499c896a550e3d416b444211e6 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 02:23:07 +0000
Subject: [PATCH] add led

---
 kernel/include/soc/rockchip/rockchip-system-status.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/kernel/include/soc/rockchip/rockchip-system-status.h b/kernel/include/soc/rockchip/rockchip-system-status.h
index 200b1ee..5eb53ff 100644
--- a/kernel/include/soc/rockchip/rockchip-system-status.h
+++ b/kernel/include/soc/rockchip/rockchip-system-status.h
@@ -6,7 +6,9 @@
 #ifndef __SOC_ROCKCHIP_SYSTEM_STATUS_H
 #define __SOC_ROCKCHIP_SYSTEM_STATUS_H
 
-#if IS_ENABLED(CONFIG_ROCKCHIP_SYSTEM_MONITOR)
+#include <dt-bindings/soc/rockchip-system-status.h>
+
+#if IS_REACHABLE(CONFIG_ROCKCHIP_SYSTEM_MONITOR)
 int rockchip_register_system_status_notifier(struct notifier_block *nb);
 int rockchip_unregister_system_status_notifier(struct notifier_block *nb);
 void rockchip_set_system_status(unsigned long status);

--
Gitblit v1.6.2