|
@@ -1261,7 +1261,7 @@ static int usbhid_idle(struct hid_device *hid, int report, int idle,
|
|
return hid_set_idle(dev, ifnum, report, idle);
|
|
return hid_set_idle(dev, ifnum, report, idle);
|
|
}
|
|
}
|
|
|
|
|
|
-static struct hid_ll_driver usb_hid_driver = {
|
|
|
|
|
|
+struct hid_ll_driver usb_hid_driver = {
|
|
.parse = usbhid_parse,
|
|
.parse = usbhid_parse,
|
|
.start = usbhid_start,
|
|
.start = usbhid_start,
|
|
.stop = usbhid_stop,
|
|
.stop = usbhid_stop,
|
|
@@ -1274,6 +1274,7 @@ static struct hid_ll_driver usb_hid_driver = {
|
|
.output_report = usbhid_output_report,
|
|
.output_report = usbhid_output_report,
|
|
.idle = usbhid_idle,
|
|
.idle = usbhid_idle,
|
|
};
|
|
};
|
|
|
|
+EXPORT_SYMBOL_GPL(usb_hid_driver);
|
|
|
|
|
|
static int usbhid_probe(struct usb_interface *intf, const struct usb_device_id *id)
|
|
static int usbhid_probe(struct usb_interface *intf, const struct usb_device_id *id)
|
|
{
|
|
{
|