forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/net/wireless/st/cw1200/wsm.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * WSM host interface (HI) interface for ST-Ericsson CW1200 mac80211 drivers
34 *
....@@ -7,10 +8,6 @@
78 * Based on CW1200 UMAC WSM API, which is
89 * Copyright (C) ST-Ericsson SA 2010
910 * Author: Stewart Mathers <stewart.mathers@stericsson.com>
10
- *
11
- * This program is free software; you can redistribute it and/or modify
12
- * it under the terms of the GNU General Public License version 2 as
13
- * published by the Free Software Foundation.
1411 */
1512
1613 #ifndef CW1200_WSM_H_INCLUDED
....@@ -1626,7 +1623,7 @@
16261623 u8 local_devname[D11_MAX_SSID_LEN];
16271624 u8 reserved2[3];
16281625 u8 num_secdev_supported;
1629
- struct wsm_p2p_device_type secdevs[0];
1626
+ struct wsm_p2p_device_type secdevs[];
16301627 } __packed;
16311628
16321629 /* 4.36 SetWCDMABand - WO */