diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00pci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00pci.c b/drivers/net/wireless/rt2x00/rt2x00pci.c index 695aecf6bd03..17148bb24426 100644 --- a/drivers/net/wireless/rt2x00/rt2x00pci.c +++ b/drivers/net/wireless/rt2x00/rt2x00pci.c | |||
@@ -251,9 +251,8 @@ exit: | |||
251 | return -ENOMEM; | 251 | return -ENOMEM; |
252 | } | 252 | } |
253 | 253 | ||
254 | int rt2x00pci_probe(struct pci_dev *pci_dev, const struct pci_device_id *id) | 254 | int rt2x00pci_probe(struct pci_dev *pci_dev, const struct rt2x00_ops *ops) |
255 | { | 255 | { |
256 | struct rt2x00_ops *ops = (struct rt2x00_ops *)id->driver_data; | ||
257 | struct ieee80211_hw *hw; | 256 | struct ieee80211_hw *hw; |
258 | struct rt2x00_dev *rt2x00dev; | 257 | struct rt2x00_dev *rt2x00dev; |
259 | int retval; | 258 | int retval; |