forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
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)