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>
This commit is contained in:
Jan Luebbe 2012-05-07 10:25:16 +02:00 committed by Greg Kroah-Hartman
parent bfb8bfad18
commit ab59ac0155
1 changed files with 2 additions and 0 deletions

View File

@ -454,3 +454,5 @@ static struct platform_driver ohci_hcd_da8xx_driver = {
.name = "ohci",
},
};
MODULE_ALIAS("platform:ohci");