summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-6000.c
diff options
context:
space:
mode:
authorEmmanuel Grumbach2011-08-26 08:10:36 +0200
committerJohn W. Linville2011-08-29 21:25:30 +0200
commit48f20d354e729afcfb29ff41aca7583ebb94613d (patch)
tree8d5c3b20c123d0ed02c09b5530f02212f56730eb /drivers/net/wireless/iwlwifi/iwl-6000.c
parentiwlagn: use iwl_get_debug_level instead of iwl_debug_level (diff)
downloadkernel-qcow2-linux-48f20d354e729afcfb29ff41aca7583ebb94613d.tar.gz
kernel-qcow2-linux-48f20d354e729afcfb29ff41aca7583ebb94613d.tar.xz
kernel-qcow2-linux-48f20d354e729afcfb29ff41aca7583ebb94613d.zip
iwlagn: introduce iwl-shared.h
It will hold declaration of functions and forward declaration of struct that are used by several layers. This will allow modules not to include iwl_priv. iwl_bus and iwl_trans are still visible to all. All the layers share the module parameters, move the struct to iwl-shared.h. Also add all module parameters to iwl_mod_params instead of having them as global static. This includes * debug_level * ant_coupling * bt_ch_announce * wanted_ucode_alternative Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-6000.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-6000.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-6000.c b/drivers/net/wireless/iwlwifi/iwl-6000.c
index 850f9242a165..bf84fa697209 100644
--- a/drivers/net/wireless/iwlwifi/iwl-6000.c
+++ b/drivers/net/wireless/iwlwifi/iwl-6000.c
@@ -45,6 +45,7 @@
#include "iwl-agn-hw.h"
#include "iwl-6000-hw.h"
#include "iwl-trans.h"
+#include "iwl-shared.h"
/* Highest firmware API version supported */
#define IWL6000_UCODE_API_MAX 4