aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-trans.c
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2011-09-06 12:31:19 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-09-14 13:56:37 -0400
commit522376d206da66cecc90929134ad70c0446e874b (patch)
treedd475fa28731670f5810ca723c085fb2ba495344 /drivers/net/wireless/iwlwifi/iwl-trans.c
parent3e10caeb55b2693b38f1f80c67c79d918fc42e42 (diff)
iwlagn: clean up of transport layer
Move a few declarations needed by the transport layer to iwl-shared.h Move iwl_cmd_meta, iwl_tx_queue and friends to the internal transport header file. Move iwl_device_cmd iwl_host_cmd and friends to iwl-trans.h since these structs are used in the API to the transport layer. Move get_cmd_string to the upper layer with a declaration in iwl-shared.h. 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-trans.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-trans.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans.c b/drivers/net/wireless/iwlwifi/iwl-trans.c
index 44e2f911f89..3948d317bc1 100644
--- a/drivers/net/wireless/iwlwifi/iwl-trans.c
+++ b/drivers/net/wireless/iwlwifi/iwl-trans.c
@@ -65,14 +65,15 @@
65#include <linux/bitops.h> 65#include <linux/bitops.h>
66#include <linux/gfp.h> 66#include <linux/gfp.h>
67 67
68#include "iwl-dev.h"
69#include "iwl-trans.h" 68#include "iwl-trans.h"
70#include "iwl-core.h"
71#include "iwl-helpers.h"
72#include "iwl-trans-int-pcie.h" 69#include "iwl-trans-int-pcie.h"
73/*TODO remove uneeded includes when the transport layer tx_free will be here */ 70#include "iwl-csr.h"
74#include "iwl-agn.h" 71#include "iwl-prph.h"
75#include "iwl-shared.h" 72#include "iwl-shared.h"
73#include "iwl-eeprom.h"
74
75/* TODO: the transport layer should not include this */
76#include "iwl-core.h"
76 77
77static int iwl_trans_rx_alloc(struct iwl_trans *trans) 78static int iwl_trans_rx_alloc(struct iwl_trans *trans)
78{ 79{