kernel/drivers/hwspinlock/hwspinlock_internal.h
.. .. @@ -56,7 +56,7 @@ 56 56 const struct hwspinlock_ops *ops; 57 57 int base_id; 58 58 int num_locks; 59 - struct hwspinlock lock[0];59 + struct hwspinlock lock[];60 60 }; 61 61 62 62 static inline int hwlock_to_id(struct hwspinlock *hwlock)