iwlwifi: iwl-trans.h doesn't need all these includes
We can use forward declaration for the relevant struct since they
aren't dereferenced in the header file.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans.h b/drivers/net/wireless/iwlwifi/iwl-trans.h
index 08d93b9..4e7e6c0 100644
--- a/drivers/net/wireless/iwlwifi/iwl-trans.h
+++ b/drivers/net/wireless/iwlwifi/iwl-trans.h
@@ -63,12 +63,9 @@
#ifndef __iwl_trans_h__
#define __iwl_trans_h__
-#include <linux/debugfs.h>
-#include <linux/skbuff.h>
+#include <linux/ieee80211.h>
#include "iwl-shared.h"
-#include "iwl-commands.h"
-#include "iwl-ucode.h"
#include "iwl-debug.h"
/**
@@ -109,6 +106,9 @@
struct iwl_priv;
struct iwl_shared;
struct iwl_op_mode;
+struct fw_img;
+struct sk_buff;
+struct dentry;
/**
* DOC: Host command section