rtsx_usb: export device table
PATCH 1/1 rtsx_usb: export device table
The rtsx_usb driver contains the table for the devices it supports but doesn't export it. As a result, no alias is generated and it doesn't get loaded automatically.
Via https://bugzilla.novell.com/show_bug.cgi?id=890096
Reported-by Marcel Witte <[email protected]>
Signed-off-by Jeff Mahoney <[email protected]>
--- drivers/mfd/rtsx_usb.c | 1 + 1 file changed, 1 insertion(+)
drivers/mfd/rtsx_usb.c +1 -0
@@ -744,6 +744,7 @@ static struct usb_device_id rtsx_usb_usb { USB_DEVICE(0x0BDA, 0x0140) }, { } }; +MODULE_DEVICE_TABLE (usb, rtsx_usb_usb_ids);static struct usb_driver rtsx_usb_driver = { .name ="rtsx_usb" ,
Signature · 2 lines
Jeff Mahoney SUSE Labs
Quoted 12 lines · On Fri, 08 Aug 2014 17:31:51 -0400 Jeff Mahoney <[email protected]> wrote:
The
rtsx_usbdriver contains the table for the devices it supports but doesn't export it. As a result, no alias is generated and it doesn't get loaded automatically.Via https://bugzilla.novell.com/show_bug.cgi?id=890096
...
drivers/mfd/rtsx_usb.c static struct usb_device_id rtsx_usb_usb · line 750
Quoted 7 lines
drivers/mfd/rtsx_usb.c +1
-0@@ -744,6 +744,7 @@ static struct usb_device_id rtsx_usb_usb { USB_DEVICE(0x0BDA, 0x0140) }, { } }; +MODULE_DEVICE_TABLE (usb, rtsx_usb_usb_ids);static struct usb_driver rtsx_usb_driver = { .name ="rtsx_usb" ,
I'd normally duck a patch like this because I don't do MFD.
But you omitted the Cc:stable tag, so I grabbed the patch to ensure that this tag is included.