summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn.h
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2011-05-31 08:22:30 +0300
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2011-06-18 08:05:52 -0700
commita48709c5d076aa3a3f9b6426f462abe6bf432b11 (patch)
treea6da050f84ff8b9d3ac366387b4a9c8fb412215b /drivers/net/wireless/iwlwifi/iwl-agn.h
parentc6ca8bc46cc320e31e8fcb8b104eeed044febd6f (diff)
downloadlinux-a48709c5d076aa3a3f9b6426f462abe6bf432b11.tar.gz
linux-a48709c5d076aa3a3f9b6426f462abe6bf432b11.tar.bz2
linux-a48709c5d076aa3a3f9b6426f462abe6bf432b11.zip
iwlagn: introduce iwl_bus and iwl_bus_ops
iwl_bus will represent a bus, and iwl_bus_ops all the operations that can be done on this bus. For the moment only set_prv_data is implemented. More to come... 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-agn.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.h b/drivers/net/wireless/iwlwifi/iwl-agn.h
index 9dab387753a8..346386927990 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.h
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.h
@@ -379,7 +379,8 @@ void iwl_testmode_cleanup(struct iwl_priv *priv)
}
#endif
-int iwl_probe(struct pci_dev *pdev, struct iwl_cfg *cfg);
-void iwl_remove(struct pci_dev *pdev);
+int iwl_probe(void *bus_specific, struct iwl_bus_ops *bus_ops,
+ struct iwl_cfg *cfg);
+void __devexit iwl_remove(struct iwl_priv * priv);
#endif /* __iwl_agn_h__ */