Skip to content

Instantly share code, notes, and snippets.

@dz0ny
Created September 12, 2013 16:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dz0ny/6540408 to your computer and use it in GitHub Desktop.
Save dz0ny/6540408 to your computer and use it in GitHub Desktop.
@@ -68,11 +68,11 @@ MODULE_DEVICE_TABLE(usb, rtusb_usb_id);
static void rt2870_disconnect(
IN struct usb_device *dev,
IN PRTMP_ADAPTER pAd);
-static int __devinit rt2870_probe(
+static int rt2870_probe(
IN struct usb_interface *intf,
IN struct usb_device *usb_dev,
IN const struct usb_device_id *dev_id,
IN RTMP_ADAPTER **ppAd);
@@ -885,11 +885,11 @@ static void rt2870_disconnect(struct usb_device *dev, PRTMP_ADAPTER pAd)
DBGPRINT(RT_DEBUG_ERROR, (" RTUSB disconnect successfully\n"));
}
-static int __devinit rt2870_probe(
+static int rt2870_probe(
IN struct usb_interface *intf,
IN struct usb_device *usb_dev,
IN const struct usb_device_id *dev_id,
IN RTMP_ADAPTER **ppAd)
{
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment