diff options
author | Luis de Bethencourt <luisbg@osg.samsung.com> | 2015-09-19 09:10:59 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 05:51:58 -0400 |
commit | e2f3951110f19fd901159981dadc756263d30386 (patch) | |
tree | 87a3a1b3164503f2629dc1dd0c3806df056c3361 | |
parent | 04c0b766605e067428ca558421a44c1baf56c2cf (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>
-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[] = { | |||
140 | { .compatible = "platform-uhci", }, | 140 | { .compatible = "platform-uhci", }, |
141 | {} | 141 | {} |
142 | }; | 142 | }; |
143 | MODULE_DEVICE_TABLE(of, platform_uhci_ids); | ||
143 | 144 | ||
144 | static struct platform_driver uhci_platform_driver = { | 145 | static struct platform_driver uhci_platform_driver = { |
145 | .probe = uhci_hcd_platform_probe, | 146 | .probe = uhci_hcd_platform_probe, |