hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Shared Transport Header file
34 * To be included by the protocol stack drivers for
....@@ -6,20 +7,6 @@
67 *
78 * Copyright (C) 2009-2010 Texas Instruments
89 * Author: Pavan Savoy <pavan_savoy@ti.com>
9
- *
10
- * This program is free software; you can redistribute it and/or modify
11
- * it under the terms of the GNU General Public License version 2 as
12
- * published by the Free Software Foundation.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License
20
- * along with this program; if not, write to the Free Software
21
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
- *
2310 */
2411
2512 #ifndef TI_WILINK_ST_H
....@@ -308,7 +295,7 @@
308295 u32 magic;
309296 u32 version;
310297 u8 future[24];
311
- u8 actions[0];
298
+ u8 actions[];
312299 } __attribute__ ((packed));
313300
314301 /**
....@@ -318,7 +305,7 @@
318305 struct bts_action {
319306 u16 type;
320307 u16 size;
321
- u8 data[0];
308
+ u8 data[];
322309 } __attribute__ ((packed));
323310
324311 struct bts_action_send {
....@@ -328,7 +315,7 @@
328315 struct bts_action_wait {
329316 u32 msec;
330317 u32 size;
331
- u8 data[0];
318
+ u8 data[];
332319 } __attribute__ ((packed));
333320
334321 struct bts_action_delay {