summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ohci-da8xx.c
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2012-05-07 10:25:16 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-08 09:26:10 -0700
commitab59ac0155ebe16d563b68d63ceb2e2d0747180f (patch)
tree6f1067323a5aaf770f796722b2c80df363567797 /drivers/usb/host/ohci-da8xx.c
parentbfb8bfad1860281810415ecbcccb841374fc6eb3 (diff)
ohci-da8xx: set MODULE_ALIAS to allow autoloading
The Davinci USB platform device (in mach-davinci/usb.c) uses "ohci" as the name. To allow autoloading of the relevant driver, the module needs to set the MODULE_ALIAS. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci-da8xx.c')
-rw-r--r--drivers/usb/host/ohci-da8xx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/ohci-da8xx.c b/drivers/usb/host/ohci-da8xx.c
index 843509778a33..269b1e0f7691 100644
--- a/drivers/usb/host/ohci-da8xx.c
+++ b/drivers/usb/host/ohci-da8xx.c
@@ -454,3 +454,5 @@ static struct platform_driver ohci_hcd_da8xx_driver = {
.name = "ohci",
},
};
+
+MODULE_ALIAS("platform:ohci");