forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/hwspinlock/hwspinlock_internal.h
....@@ -56,7 +56,7 @@
5656 const struct hwspinlock_ops *ops;
5757 int base_id;
5858 int num_locks;
59
- struct hwspinlock lock[0];
59
+ struct hwspinlock lock[];
6060 };
6161
6262 static inline int hwlock_to_id(struct hwspinlock *hwlock)