From: Greg Kroah-Hartman Date: Thu, 4 Dec 2008 00:33:09 +0000 (-0800) Subject: USB: fix problem with usbtmc driver not loading properly X-Git-Tag: v2.6.28-rc9~8^2~13 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5413aa467806578bf5f78a83893cb9426b815231;p=linux-2.6-omap-h63xx.git 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 Cc: stable Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/class/usbtmc.c b/drivers/usb/class/usbtmc.c index 8e74657f106..43a863c5cc4 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