From: Jan Luebbe Date: Mon, 7 May 2012 08:25:16 +0000 (+0200) Subject: ohci-da8xx: set MODULE_ALIAS to allow autoloading X-Git-Tag: v3.12-rc1~3153^2~124 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab59ac0155ebe16d563b68d63ceb2e2d0747180f;p=kernel%2Fkernel-generic.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ohci-da8xx.c b/drivers/usb/host/ohci-da8xx.c index 8435097..269b1e0 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");