Lines 79-88
Link Here
|
79 |
/* table of devices that work with this driver- look for vendor specific interfaces with |
79 |
/* table of devices that work with this driver- look for vendor specific interfaces with |
80 |
* our VID */ |
80 |
* our VID */ |
81 |
static struct usb_device_id hdj_table [] = { |
81 |
static struct usb_device_id hdj_table [] = { |
82 |
{ .match_flags = (USB_DEVICE_ID_MATCH_DEVICE), |
82 |
{ .match_flags = (USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_INT_CLASS), |
83 |
.idVendor = (USB_HDJ_VENDOR_ID) }, |
83 |
.idVendor = (USB_HDJ_VENDOR_ID), |
84 |
{ .match_flags = (USB_DEVICE_ID_MATCH_INT_CLASS), |
84 |
.bInterfaceClass = USB_CLASS_VENDOR_SPEC }, |
85 |
.bInterfaceClass = USB_CLASS_VENDOR_SPEC}, |
|
|
86 |
{ } /* Terminating entry */ |
85 |
{ } /* Terminating entry */ |
87 |
}; |
86 |
}; |
88 |
MODULE_DEVICE_TABLE(usb, hdj_table); |
87 |
MODULE_DEVICE_TABLE(usb, hdj_table); |