forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-16 50a212ec906f7524620675f0c57357691c26c81f
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)