diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2011-08-26 02:11:16 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-29 15:30:30 -0400 |
commit | 332a4bad975616f33c2d1bf94c4ace2ea4113835 (patch) | |
tree | 86e5625342ae6c30690710b8620b946a5fbc672d /drivers/net/wireless/iwlwifi/iwl-shared.h | |
parent | f090fba305658fe6e464e2fbd25fad81957ece26 (diff) |
iwlagn: iwl-pci doesn't include iwl-dev any more
Move all the iwlXXX_abgn_cfg forward declaration to a separate file
so that iwl-pci.c doesn't need to include iwl-agn.h that includes
all iwl-dev.h
This allows to provide real encapsulation. Dereferencing iwl_priv
in the bus layer will now lead to a compilation error.
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-shared.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-shared.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-shared.h b/drivers/net/wireless/iwlwifi/iwl-shared.h index 45f8a33df6e4..27aee528ce3a 100644 --- a/drivers/net/wireless/iwlwifi/iwl-shared.h +++ b/drivers/net/wireless/iwlwifi/iwl-shared.h | |||
@@ -77,6 +77,11 @@ struct iwl_priv; | |||
77 | struct iwl_sensitivity_ranges; | 77 | struct iwl_sensitivity_ranges; |
78 | struct iwl_trans_ops; | 78 | struct iwl_trans_ops; |
79 | 79 | ||
80 | #define DRV_NAME "iwlagn" | ||
81 | #define IWLWIFI_VERSION "in-tree:" | ||
82 | #define DRV_COPYRIGHT "Copyright(c) 2003-2011 Intel Corporation" | ||
83 | #define DRV_AUTHOR "<ilw@linux.intel.com>" | ||
84 | |||
80 | extern struct iwl_mod_params iwlagn_mod_params; | 85 | extern struct iwl_mod_params iwlagn_mod_params; |
81 | 86 | ||
82 | /** | 87 | /** |