From a8589360f515f6332f9c5b7da6c728641f9d5b63 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Pouiller?= Date: Thu, 13 Jan 2022 09:54:56 +0100 Subject: [PATCH] staging: wfx: fix missing headers MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Link: https://lore.kernel.org/r/20220113085524.1110708-4-Jerome.Pouiller@silabs.com Signed-off-by: Greg Kroah-Hartman --- drivers/staging/wfx/bh.h | 1 + drivers/staging/wfx/hif_tx.h | 4 ++++ drivers/staging/wfx/hif_tx_mib.h | 7 ++++++- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/staging/wfx/bh.h b/drivers/staging/wfx/bh.h index 6c121ce..a44c8b4 100644 --- a/drivers/staging/wfx/bh.h +++ b/drivers/staging/wfx/bh.h @@ -10,6 +10,7 @@ #include #include +#include #include struct wfx_dev; diff --git a/drivers/staging/wfx/hif_tx.h b/drivers/staging/wfx/hif_tx.h index e57eabd..f789584 100644 --- a/drivers/staging/wfx/hif_tx.h +++ b/drivers/staging/wfx/hif_tx.h @@ -10,6 +10,10 @@ #ifndef WFX_HIF_TX_H #define WFX_HIF_TX_H +#include +#include +#include + struct ieee80211_channel; struct ieee80211_bss_conf; struct ieee80211_tx_queue_params; diff --git a/drivers/staging/wfx/hif_tx_mib.h b/drivers/staging/wfx/hif_tx_mib.h index 2a3b848..fe08a69 100644 --- a/drivers/staging/wfx/hif_tx_mib.h +++ b/drivers/staging/wfx/hif_tx_mib.h @@ -9,8 +9,13 @@ #ifndef WFX_HIF_TX_MIB_H #define WFX_HIF_TX_MIB_H -struct wfx_vif; +#include + 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, -- 2.7.4