ohci-da8xx: set MODULE_ALIAS to allow autoloading
authorJan Luebbe <jlu@pengutronix.de>
Mon, 7 May 2012 08:25:16 +0000 (10:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 May 2012 16:26:10 +0000 (09:26 -0700)
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>
drivers/usb/host/ohci-da8xx.c

index 843509778a33ea4de570ab052dafedd8e83687e3..269b1e0f7691972045c0706d85fb354d2aa7a1ef 100644 (file)
@@ -454,3 +454,5 @@ static struct platform_driver ohci_hcd_da8xx_driver = {
                .name   = "ohci",
        },
 };
+
+MODULE_ALIAS("platform:ohci");