diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2011-05-31 08:22:30 +0300 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-06-18 08:05:52 -0700 |
commit | a48709c5d076aa3a3f9b6426f462abe6bf432b11 (patch) | |
tree | a6da050f84ff8b9d3ac366387b4a9c8fb412215b /drivers/net/wireless/iwlwifi/iwl-agn.h | |
parent | c6ca8bc46cc320e31e8fcb8b104eeed044febd6f (diff) | |
download | linux-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.h | 5 |
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__ */ |