forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/net/wireless/intersil/orinoco/hermes.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* hermes.h
23 *
34 * Driver core for the "Hermes" wireless MAC controller, as used in
....@@ -17,8 +18,6 @@
1718 *
1819 * Portions taken from hfa384x.h.
1920 * Copyright (C) 1999 AbsoluteValue Systems, Inc. All Rights Reserved.
20
- *
21
- * This file distributed under the GPL, version 2.
2221 */
2322
2423 #ifndef _HERMES_H
....@@ -342,7 +341,7 @@
342341 __le64 timestamp;
343342 __le16 beacon_interval;
344343 __le16 capabilities;
345
- u8 data[0];
344
+ u8 data[];
346345 } __packed;
347346
348347 #define HERMES_LINKSTATUS_NOT_CONNECTED (0x0000)