aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/class
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-12-03 16:33:09 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2008-12-17 10:49:10 -0800
commit5413aa467806578bf5f78a83893cb9426b815231 (patch)
treeeef90a249b35f57f82ea5633739c92225e04b269 /drivers/usb/class
parent1bda71282ded6a2e09a2db7c8884542fb46bfd4f (diff)
downloadkernel_samsung_crespo-5413aa467806578bf5f78a83893cb9426b815231.zip
kernel_samsung_crespo-5413aa467806578bf5f78a83893cb9426b815231.tar.gz
kernel_samsung_crespo-5413aa467806578bf5f78a83893cb9426b815231.tar.bz2
USB: fix problem with usbtmc driver not loading properly
The usbtmc driver forgot to export its device table to userspace. Without this, it is never loaded properly when such a device is seen by the system. Cc: Marcel Janssen <marcel.janssen@admesy.nl> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/class')
-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 8e74657..43a863c 100644
--- a/drivers/usb/class/usbtmc.c
+++ b/drivers/usb/class/usbtmc.c
@@ -51,6 +51,7 @@ static struct usb_device_id usbtmc_devices[] = {
{ USB_INTERFACE_INFO(USB_CLASS_APP_SPEC, 3, 0), },
{ 0, } /* terminating entry */
};
+MODULE_DEVICE_TABLE(usb, usbtmc_devices);
/*
* This structure is the capabilities for the device