summaryrefslogtreecommitdiff
path: root/drivers/usb/host/uhci-platform.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@osg.samsung.com>2015-09-19 14:10:59 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 10:51:58 +0100
commite2f3951110f19fd901159981dadc756263d30386 (patch)
tree87a3a1b3164503f2629dc1dd0c3806df056c3361 /drivers/usb/host/uhci-platform.c
parent04c0b766605e067428ca558421a44c1baf56c2cf (diff)
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,