hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/drivers/net/wireless/intersil/p54/eeprom.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * eeprom specific definitions for mac80211 Prism54 drivers
34 *
....@@ -13,10 +14,6 @@
1314 *
1415 * - islmvc driver
1516 * Copyright (C) 2001 Intersil Americas Inc.
16
- *
17
- * This program is free software; you can redistribute it and/or modify
18
- * it under the terms of the GNU General Public License version 2 as
19
- * published by the Free Software Foundation.
2017 */
2118
2219 #ifndef EEPROM_H
....@@ -27,7 +24,7 @@
2724 struct pda_entry {
2825 __le16 len; /* includes both code and data */
2926 __le16 code;
30
- u8 data[0];
27
+ u8 data[];
3128 } __packed;
3229
3330 struct eeprom_pda_wrap {
....@@ -35,7 +32,7 @@
3532 __le16 pad;
3633 __le16 len;
3734 __le32 arm_opcode;
38
- u8 data[0];
35
+ u8 data[];
3936 } __packed;
4037
4138 struct p54_iq_autocal_entry {
....@@ -90,7 +87,7 @@
9087 u8 channels;
9188 u8 points_per_channel;
9289 u8 padding;
93
- u8 data[0];
90
+ u8 data[];
9491 } __packed;
9592
9693 struct pda_rssi_cal_ext_entry {
....@@ -122,7 +119,7 @@
122119 __le16 entry_size;
123120 __le16 offset;
124121 __le16 len;
125
- u8 data[0];
122
+ u8 data[];
126123 } __packed;
127124
128125 /*