diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2012-03-23 01:59:52 +0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2012-04-18 18:31:11 +0400 |
commit | 4b9844f5d887e31c18b9aad862b7ef5fde016d9b (patch) | |
tree | 21f48f3381ec9fca18974f8b1261bb44928aef8c /drivers/net/wireless/iwlwifi/iwl-phy-db.h | |
parent | 93faaeea4f28731fa7caf9db870f3f73b6047ea6 (diff) | |
download | linux-4b9844f5d887e31c18b9aad862b7ef5fde016d9b.tar.xz |
iwlwifi: don't use shared for the logger any more
Each modules will hold a pointer to struct device instead.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-phy-db.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-phy-db.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-phy-db.h b/drivers/net/wireless/iwlwifi/iwl-phy-db.h index 5e86305de66a..c34c6a9303ab 100644 --- a/drivers/net/wireless/iwlwifi/iwl-phy-db.h +++ b/drivers/net/wireless/iwlwifi/iwl-phy-db.h @@ -96,7 +96,7 @@ struct iwl_phy_db { u32 channel_size; /* for an access to the logger */ - const struct iwl_shared *shrd; + struct device *dev; }; enum iwl_phy_db_section_type { @@ -114,7 +114,7 @@ struct iwl_phy_db_chg_txp { __le16 max_channel_idx; } __packed; -struct iwl_phy_db *iwl_phy_db_init(struct iwl_shared *shrd); +struct iwl_phy_db *iwl_phy_db_init(struct device *dev); void iwl_phy_db_free(struct iwl_phy_db *phy_db); |