From: Jeff Mahoney <[email protected]>
Subject: drivers/mfd/rtsx_usb.c: 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

Signed-off-by: Jeff Mahoney <[email protected]>
Reported-by: Marcel Witte <[email protected]>
Cc: Roger Tseng <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
---

 drivers/mfd/rtsx_usb.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/mfd/rtsx_usb.c~rtsx_usb-export-device-table 
drivers/mfd/rtsx_usb.c
--- a/drivers/mfd/rtsx_usb.c~rtsx_usb-export-device-table
+++ a/drivers/mfd/rtsx_usb.c
@@ -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",
_
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to