staging: wfx: fix missing headers
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Thu, 13 Jan 2022 08:54:56 +0000 (09:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jan 2022 15:19:40 +0000 (16:19 +0100)
Each headers files should include every types it needs to compile (ie.
"gcc $CFLAGS -xc file.h" should compile)

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20220113085524.1110708-4-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/bh.h
drivers/staging/wfx/hif_tx.h
drivers/staging/wfx/hif_tx_mib.h

index 6c121ce4dd3f8d021bd456a118d9dac96e79817c..a44c8b421b7c7f90bc70df4c0dcfa95dba7e4f87 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <linux/atomic.h>
 #include <linux/wait.h>
+#include <linux/completion.h>
 #include <linux/workqueue.h>
 
 struct wfx_dev;
index e57eabdcfa77925463e80042db6bc4ea1129e8d3..f7895845686f83fdaf5011b733138b18ebd98e39 100644 (file)
 #ifndef WFX_HIF_TX_H
 #define WFX_HIF_TX_H
 
+#include <linux/types.h>
+#include <linux/mutex.h>
+#include <linux/completion.h>
+
 struct ieee80211_channel;
 struct ieee80211_bss_conf;
 struct ieee80211_tx_queue_params;
index 2a3b84868ee42d582d380b2878d1c6742b7f2190..fe08a69412abe4408f29a7a914b843812e8e4632 100644 (file)
@@ -9,8 +9,13 @@
 #ifndef WFX_HIF_TX_MIB_H
 #define WFX_HIF_TX_MIB_H
 
-struct wfx_vif;
+#include <linux/types.h>
+
 struct sk_buff;
+struct wfx_vif;
+struct wfx_dev;
+struct hif_ie_table_entry;
+struct hif_mib_extended_count_table;
 
 int hif_set_output_power(struct wfx_vif *wvif, int val);
 int hif_set_beacon_wakeup_period(struct wfx_vif *wvif,