Commit 6238b008 authored by Johannes Berg's avatar Johannes Berg Committed by Wey-Yi Guy

iwlwifi: clean up iwl-shared.h includes

That file is now holding just a few defines and
the module parameters, so it shouldn't include
anything. Make sure the right users include the
right files instead.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
parent 26470b07
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
#define __iwl_agn_h__ #define __iwl_agn_h__
#include "iwl-dev.h" #include "iwl-dev.h"
#include "iwl-config.h"
/* The first 11 queues (0-10) are used otherwise */ /* The first 11 queues (0-10) are used otherwise */
#define IWLAGN_FIRST_AMPDU_QUEUE 11 #define IWLAGN_FIRST_AMPDU_QUEUE 11
......
...@@ -63,6 +63,7 @@ ...@@ -63,6 +63,7 @@
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include "iwl-debug.h" #include "iwl-debug.h"
#include "iwl-devtrace.h"
#define __iwl_fn(fn) \ #define __iwl_fn(fn) \
void __iwl_ ##fn(struct device *dev, const char *fmt, ...) \ void __iwl_ ##fn(struct device *dev, const char *fmt, ...) \
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#define __iwl_debug_h__ #define __iwl_debug_h__
#include "iwl-shared.h" #include "iwl-shared.h"
#include "iwl-devtrace.h"
static inline bool iwl_have_debug_level(u32 level) static inline bool iwl_have_debug_level(u32 level)
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/mutex.h> #include <linux/mutex.h>
#include "iwl-fw.h"
#include "iwl-eeprom.h" #include "iwl-eeprom.h"
#include "iwl-csr.h" #include "iwl-csr.h"
#include "iwl-debug.h" #include "iwl-debug.h"
......
...@@ -69,6 +69,8 @@ ...@@ -69,6 +69,8 @@
#include "iwl-trans.h" #include "iwl-trans.h"
#include "iwl-op-mode.h" #include "iwl-op-mode.h"
#include "iwl-agn-hw.h" #include "iwl-agn-hw.h"
#include "iwl-fw.h"
#include "iwl-config.h"
/* private includes */ /* private includes */
#include "iwl-fw-file.h" #include "iwl-fw-file.h"
......
...@@ -68,7 +68,6 @@ ...@@ -68,7 +68,6 @@
#include <net/mac80211.h> #include <net/mac80211.h>
#include "iwl-commands.h"
#include "iwl-dev.h" #include "iwl-dev.h"
#include "iwl-core.h" #include "iwl-core.h"
#include "iwl-debug.h" #include "iwl-debug.h"
......
...@@ -72,6 +72,7 @@ ...@@ -72,6 +72,7 @@
#include "iwl-drv.h" #include "iwl-drv.h"
#include "iwl-trans.h" #include "iwl-trans.h"
#include "iwl-trans-pcie-int.h" #include "iwl-trans-pcie-int.h"
#include "iwl-shared.h"
#define IWL_PCI_DEVICE(dev, subdev, cfg) \ #define IWL_PCI_DEVICE(dev, subdev, cfg) \
.vendor = PCI_VENDOR_ID_INTEL, .device = (dev), \ .vendor = PCI_VENDOR_ID_INTEL, .device = (dev), \
......
...@@ -68,10 +68,6 @@ ...@@ -68,10 +68,6 @@
#include <linux/gfp.h> #include <linux/gfp.h>
#include <net/mac80211.h> #include <net/mac80211.h>
#include "iwl-commands.h"
#include "iwl-fw.h"
#include "iwl-config.h"
#define DRV_NAME "iwlwifi" #define DRV_NAME "iwlwifi"
#define IWLWIFI_VERSION "in-tree:" #define IWLWIFI_VERSION "in-tree:"
#define DRV_COPYRIGHT "Copyright(c) 2003-2012 Intel Corporation" #define DRV_COPYRIGHT "Copyright(c) 2003-2012 Intel Corporation"
......
...@@ -37,6 +37,8 @@ ...@@ -37,6 +37,8 @@
#include "iwl-agn-hw.h" #include "iwl-agn-hw.h"
#include "iwl-op-mode.h" #include "iwl-op-mode.h"
#include "iwl-trans-pcie-int.h" #include "iwl-trans-pcie-int.h"
/* FIXME: need to abstract out TX command (once we know what it looks like) */
#include "iwl-commands.h"
#define IWL_TX_CRC_SIZE 4 #define IWL_TX_CRC_SIZE 4
#define IWL_TX_DELIMITER_SIZE 4 #define IWL_TX_DELIMITER_SIZE 4
......
...@@ -69,11 +69,14 @@ ...@@ -69,11 +69,14 @@
#include <linux/gfp.h> #include <linux/gfp.h>
#include "iwl-trans.h" #include "iwl-trans.h"
#include "iwl-shared.h"
#include "iwl-trans-pcie-int.h" #include "iwl-trans-pcie-int.h"
#include "iwl-csr.h" #include "iwl-csr.h"
#include "iwl-prph.h" #include "iwl-prph.h"
#include "iwl-eeprom.h" #include "iwl-eeprom.h"
#include "iwl-agn-hw.h" #include "iwl-agn-hw.h"
/* FIXME: need to abstract out TX command (once we know what it looks like) */
#include "iwl-commands.h"
#define IWL_MASK(lo, hi) ((1 << (hi)) | ((1 << (hi)) - (1 << (lo)))) #define IWL_MASK(lo, hi) ((1 << (hi)) | ((1 << (hi)) - (1 << (lo))))
......
...@@ -67,6 +67,8 @@ ...@@ -67,6 +67,8 @@
#include <linux/mm.h> /* for page_address */ #include <linux/mm.h> /* for page_address */
#include "iwl-debug.h" #include "iwl-debug.h"
#include "iwl-config.h"
#include "iwl-fw.h"
/** /**
* DOC: Transport layer - what is it ? * DOC: Transport layer - what is it ?
...@@ -103,13 +105,6 @@ ...@@ -103,13 +105,6 @@
* 6) Eventually, the free function will be called. * 6) Eventually, the free function will be called.
*/ */
struct iwl_priv;
struct iwl_shared;
struct iwl_op_mode;
struct fw_img;
struct sk_buff;
struct dentry;
/** /**
* DOC: Host command section * DOC: Host command section
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment