Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2014-08-08 17:31:50 -0400
committerJeff Mahoney <jeffm@suse.com>2014-08-08 17:33:34 -0400
commita29135e2125fb1d7a6bdcdbba5d3a26496e9787b (patch)
treec9b1423e74fbdf91091931a3d5017d8a3db473c1
parent820d92f098e80927bc1d149f84b9041b66340f24 (diff)
rtsx_usb: export device table (bnc#890096).
-rw-r--r--patches.fixes/rtsx_usb-export-device-table28
-rw-r--r--series.conf1
2 files changed, 29 insertions, 0 deletions
diff --git a/patches.fixes/rtsx_usb-export-device-table b/patches.fixes/rtsx_usb-export-device-table
new file mode 100644
index 0000000000..9883682b96
--- /dev/null
+++ b/patches.fixes/rtsx_usb-export-device-table
@@ -0,0 +1,28 @@
+From: Jeff Mahoney <jeffm@suse.com>
+Subject: rtsx_usb: export device table
+References: bnc#890096
+Patch-mainline: Submitted to LKML 8 Aug 2014
+
+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 <wittemar@googlemail.com>
+Signed-off-by: Jeff Mahoney <jeffm@suse.com>
+---
+ drivers/mfd/rtsx_usb.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/drivers/mfd/rtsx_usb.c
++++ b/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",
+
diff --git a/series.conf b/series.conf
index 3cec028f09..a1f2b585e8 100644
--- a/series.conf
+++ b/series.conf
@@ -394,6 +394,7 @@
########################################################
# USB
########################################################
+ patches.fixes/rtsx_usb-export-device-table
########################################################
# I2C