diff options
author | Luis de Bethencourt <luisbg@osg.samsung.com> | 2015-09-19 15:10:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 11:51:58 +0200 |
commit | e2f3951110f19fd901159981dadc756263d30386 (patch) | |
tree | 87a3a1b3164503f2629dc1dd0c3806df056c3361 | |
parent | usb: host: ohci-spear: Fix module autoload for OF platform driver (diff) | |
download | linux-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>
-rw-r--r-- | drivers/usb/host/uhci-platform.c | 1 |
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, |