From 50a212ec906f7524620675f0c57357691c26c81f Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 16 Oct 2024 01:20:19 +0000
Subject: [PATCH] 修改GPIO导出默认初始值

---
 kernel/drivers/hwspinlock/hwspinlock_internal.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/drivers/hwspinlock/hwspinlock_internal.h b/kernel/drivers/hwspinlock/hwspinlock_internal.h
index 9eb6bd0..2989276 100644
--- a/kernel/drivers/hwspinlock/hwspinlock_internal.h
+++ b/kernel/drivers/hwspinlock/hwspinlock_internal.h
@@ -56,7 +56,7 @@
 	const struct hwspinlock_ops *ops;
 	int base_id;
 	int num_locks;
-	struct hwspinlock lock[0];
+	struct hwspinlock lock[];
 };
 
 static inline int hwlock_to_id(struct hwspinlock *hwlock)

--
Gitblit v1.6.2