forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 072de836f53be56a70cecf70b43ae43b7ce17376
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)