forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/net/wireless/intersil/p54/p54.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Shared defines for all mac80211 Prism54 code
34 *
....@@ -5,10 +6,6 @@
56 *
67 * Based on the islsm (softmac prism54) driver, which is:
78 * Copyright 2004-2006 Jean-Baptiste Note <jbnote@gmail.com>, et al.
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License version 2 as
11
- * published by the Free Software Foundation.
129 */
1310
1411 #ifndef P54_H
....@@ -129,7 +126,7 @@
129126 size_t entry_size;
130127 size_t offset;
131128 size_t len;
132
- u8 data[0];
129
+ u8 data[];
133130 };
134131
135132 #define EEPROM_READBACK_LEN 0x3fc