From 982b8cc116118b3463d3f332581945625722acd8 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 09 Jan 2024 02:10:54 +0000 Subject: [PATCH] add poweroff command --- 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