Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1
+1
drivers/usb/class/usbtmc.c
··· 51 51 { USB_INTERFACE_INFO(USB_CLASS_APP_SPEC, 3, 0), }, 52 52 { 0, } /* terminating entry */ 53 53 }; 54 + MODULE_DEVICE_TABLE(usb, usbtmc_devices); 54 55 55 56 /* 56 57 * This structure is the capabilities for the device