summaryrefslogtreecommitdiff
path: root/drivers/staging/octeon-usb
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-03 13:13:51 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-12 18:24:37 -0700
commit1972308bf580ad092c315ad21700946320ab54f7 (patch)
treeb1ee0929c8cc10bd4c2bd025eb54c0713dae1396 /drivers/staging/octeon-usb
parent1e498d4b40120899f1477b106677f3fa2cc7bb1c (diff)
staging: octeon-usb: 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 <luis@debethencourt.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/octeon-usb')
-rw-r--r--drivers/staging/octeon-usb/octeon-hcd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c
index 9bd73ea5a1fa..61940284311c 100644
--- a/drivers/staging/octeon-usb/octeon-hcd.c
+++ b/drivers/staging/octeon-usb/octeon-hcd.c
@@ -3743,6 +3743,7 @@ static const struct of_device_id octeon_usb_match[] = {
},
{},
};
+MODULE_DEVICE_TABLE(of, octeon_usb_match);
static struct platform_driver octeon_usb_driver = {
.driver = {