summaryrefslogtreecommitdiff
path: root/drivers/usb/class/usbtmc.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-03-11 13:51:42 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-03-17 14:01:28 -0700
commit228dd05dbfdd0fced8ab1a28ed73b500ba6bb0a6 (patch)
tree69a42fa6a1ccb93859162a43bf944946a27489fa /drivers/usb/class/usbtmc.c
parent5b10916ea0a62920204517e1c4ce14560b4f96ab (diff)
downloadlwn-228dd05dbfdd0fced8ab1a28ed73b500ba6bb0a6.tar.gz
lwn-228dd05dbfdd0fced8ab1a28ed73b500ba6bb0a6.zip
USB: usbtmc: add protocol 1 support
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> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/class/usbtmc.c')
-rw-r--r--drivers/usb/class/usbtmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/class/usbtmc.c b/drivers/usb/class/usbtmc.c
index 895a09839001..c40a9b284cc9 100644
--- a/drivers/usb/class/usbtmc.c
+++ b/drivers/usb/class/usbtmc.c
@@ -50,6 +50,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);