Commit 525f469f authored by Jérôme Pouiller's avatar Jérôme Pouiller Committed by Greg Kroah-Hartman
Browse files

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: default avatarJérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200505123757.39506-13-Jerome.Pouiller@silabs.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8371d215
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);
+1 −2
Original line number Diff line number Diff line
@@ -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;

+0 −2
Original line number Diff line number Diff line
@@ -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;

+1 −0
Original line number Diff line number Diff line
@@ -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"
+1 −1
Original line number Diff line number Diff line
@@ -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 */
Loading