summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-03-11 21:51:42 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-03-17 22:01:28 +0100
commit228dd05dbfdd0fced8ab1a28ed73b500ba6bb0a6 (patch)
tree69a42fa6a1ccb93859162a43bf944946a27489fa /drivers
parentUSB: usbtmc: fix stupid bug in open() (diff)
downloadlinux-228dd05dbfdd0fced8ab1a28ed73b500ba6bb0a6.tar.xz
linux-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')
-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);