lkml.org 
[lkml]   [2019]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] USB: EHCI: ehci-mv: add MODULE_DEVICE_TABLE
Date
This fixes autoloading the module by the OF compatible string.

Fixes: 813e18b18a87f31c5b216ea7546127deac3ae1ae
Cc: stable@vger.kernel.org # v4.19+
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
---
drivers/usb/host/ehci-mv.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/usb/host/ehci-mv.c b/drivers/usb/host/ehci-mv.c
index f26109eafdbf..66ec1fdf9fe7 100644
--- a/drivers/usb/host/ehci-mv.c
+++ b/drivers/usb/host/ehci-mv.c
@@ -302,3 +302,4 @@ MODULE_AUTHOR("Chao Xie <chao.xie@marvell.com>");
MODULE_AUTHOR("Neil Zhang <zhangwm@marvell.com>");
MODULE_ALIAS("mv-ehci");
MODULE_LICENSE("GPL");
+MODULE_DEVICE_TABLE(of, ehci_mv_dt_ids);
--
2.19.2
\
 
 \ /
  Last update: 2019-01-14 21:17    [W:0.198 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site