From: Jérôme Pouiller Date: Thu, 13 Jan 2022 08:54:56 +0000 (+0100) Subject: staging: wfx: fix missing headers X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a8589360f515f6332f9c5b7da6c728641f9d5b63;p=linux.git staging: wfx: fix missing headers 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 --- diff --git a/drivers/staging/wfx/bh.h b/drivers/staging/wfx/bh.h index 6c121ce4dd3f8..a44c8b421b7c7 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 e57eabdcfa779..f7895845686f8 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 2a3b84868ee42..fe08a69412abe 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,