summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/uhci-platform.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@osg.samsung.com>2015-09-19 15:10:59 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 11:51:58 +0200
commite2f3951110f19fd901159981dadc756263d30386 (patch)
tree87a3a1b3164503f2629dc1dd0c3806df056c3361 /drivers/usb/host/uhci-platform.c
parentusb: host: ohci-spear: Fix module autoload for OF platform driver (diff)
downloadlinux-e2f3951110f19fd901159981dadc756263d30386.tar.xz
linux-e2f3951110f19fd901159981dadc756263d30386.zip
usb: host: uhci-platform: Fix module autoload for OF platform driver
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/uhci-platform.c')
-rw-r--r--drivers/usb/host/uhci-platform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/uhci-platform.c b/drivers/usb/host/uhci-platform.c
index 3a3e3eeba291..32a6f3d8deec 100644
--- a/drivers/usb/host/uhci-platform.c
+++ b/drivers/usb/host/uhci-platform.c
@@ -140,6 +140,7 @@ static const struct of_device_id platform_uhci_ids[] = {
{ .compatible = "platform-uhci", },
{}
};
+MODULE_DEVICE_TABLE(of, platform_uhci_ids);
static struct platform_driver uhci_platform_driver = {
.probe = uhci_hcd_platform_probe,