staging: wfx: remove useless header inclusions
In order to keep the compilation times reasonable, we try to only include the necessary headers (especially header included from other headers). This patch clean up unnecessary headers inclusions. Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com> Link: https://lore.kernel.org/r/20200505123757.39506-13-Jerome.Pouiller@silabs.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8371d215f4
commit
525f469f7f
|
@ -8,10 +8,9 @@
|
|||
#ifndef WFX_DATA_RX_H
|
||||
#define WFX_DATA_RX_H
|
||||
|
||||
#include "hif_api_cmd.h"
|
||||
|
||||
struct wfx_vif;
|
||||
struct sk_buff;
|
||||
struct hif_ind_rx;
|
||||
|
||||
void wfx_rx_cb(struct wfx_vif *wvif,
|
||||
const struct hif_ind_rx *arg, struct sk_buff *skb);
|
||||
|
|
|
@ -10,12 +10,11 @@
|
|||
#ifndef WFX_HIF_TX_H
|
||||
#define WFX_HIF_TX_H
|
||||
|
||||
#include "hif_api_cmd.h"
|
||||
|
||||
struct ieee80211_channel;
|
||||
struct ieee80211_bss_conf;
|
||||
struct ieee80211_tx_queue_params;
|
||||
struct cfg80211_scan_request;
|
||||
struct hif_req_add_key;
|
||||
struct wfx_dev;
|
||||
struct wfx_vif;
|
||||
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
#ifndef WFX_HIF_TX_MIB_H
|
||||
#define WFX_HIF_TX_MIB_H
|
||||
|
||||
#include "hif_api_mib.h"
|
||||
|
||||
struct wfx_vif;
|
||||
struct sk_buff;
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include "bh.h"
|
||||
#include "sta.h"
|
||||
#include "key.h"
|
||||
#include "scan.h"
|
||||
#include "debug.h"
|
||||
#include "data_tx.h"
|
||||
#include "secure_link.h"
|
||||
|
|
|
@ -13,10 +13,10 @@
|
|||
#include <linux/device.h>
|
||||
#include <linux/gpio/consumer.h>
|
||||
|
||||
#include "bus.h"
|
||||
#include "hif_api_general.h"
|
||||
|
||||
struct wfx_dev;
|
||||
struct hwbus_ops;
|
||||
|
||||
struct wfx_platform_data {
|
||||
/* Keyset and ".sec" extention will appended to this string */
|
||||
|
|
|
@ -11,8 +11,6 @@
|
|||
#include <linux/skbuff.h>
|
||||
#include <linux/atomic.h>
|
||||
|
||||
#include "hif_api_cmd.h"
|
||||
|
||||
struct wfx_dev;
|
||||
struct wfx_vif;
|
||||
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
|
||||
#include <net/mac80211.h>
|
||||
|
||||
#include "hif_api_cmd.h"
|
||||
|
||||
struct wfx_dev;
|
||||
struct wfx_vif;
|
||||
|
||||
|
|
|
@ -21,10 +21,7 @@
|
|||
#include "main.h"
|
||||
#include "queue.h"
|
||||
#include "secure_link.h"
|
||||
#include "sta.h"
|
||||
#include "scan.h"
|
||||
#include "hif_tx.h"
|
||||
#include "hif_api_general.h"
|
||||
|
||||
#define USEC_PER_TXOP 32 // see struct ieee80211_tx_queue_params
|
||||
#define USEC_PER_TU 1024
|
||||
|
|
Loading…
Reference in New Issue