]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
USB: usbtmc: add protocol 1 support
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 Mar 2009 20:51:42 +0000 (13:51 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 23 Mar 2009 21:55:29 +0000 (14:55 -0700)
commit 228dd05dbfdd0fced8ab1a28ed73b500ba6bb0a6 upstream.

The driver already supports the 1 protocol support, so just add it to
the MODULE_DEVICE_TABLE entry so it properly picks up these devices.

Thanks to Jouni Rynö for pointing this out.

Reported-by: Jouni Ryno <Jouni.Ryno@fmi.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/usbtmc.c

index a32ddecb95dffbae74f33d6215c3865ac4c35d86..aeb188a6b84cf9e9b4b1a5c803ce99c555353531 100644 (file)
@@ -49,6 +49,7 @@
 
 static struct usb_device_id usbtmc_devices[] = {
        { USB_INTERFACE_INFO(USB_CLASS_APP_SPEC, 3, 0), },
+       { USB_INTERFACE_INFO(USB_CLASS_APP_SPEC, 3, 1), },
        { 0, } /* terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, usbtmc_devices);