diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00usb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.c b/drivers/net/wireless/rt2x00/rt2x00usb.c index 9957579248c4..570184ee163c 100644 --- a/drivers/net/wireless/rt2x00/rt2x00usb.c +++ b/drivers/net/wireless/rt2x00/rt2x00usb.c | |||
@@ -791,10 +791,9 @@ exit: | |||
791 | } | 791 | } |
792 | 792 | ||
793 | int rt2x00usb_probe(struct usb_interface *usb_intf, | 793 | int rt2x00usb_probe(struct usb_interface *usb_intf, |
794 | const struct usb_device_id *id) | 794 | const struct rt2x00_ops *ops) |
795 | { | 795 | { |
796 | struct usb_device *usb_dev = interface_to_usbdev(usb_intf); | 796 | struct usb_device *usb_dev = interface_to_usbdev(usb_intf); |
797 | struct rt2x00_ops *ops = (struct rt2x00_ops *)id->driver_info; | ||
798 | struct ieee80211_hw *hw; | 797 | struct ieee80211_hw *hw; |
799 | struct rt2x00_dev *rt2x00dev; | 798 | struct rt2x00_dev *rt2x00dev; |
800 | int retval; | 799 | int retval; |