Skip to content

Commit

Permalink
ohci-da8xx: set MODULE_ALIAS to allow autoloading
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jan Luebbe authored and Greg Kroah-Hartman committed May 8, 2012
1 parent bfb8bfa commit ab59ac0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/usb/host/ohci-da8xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -454,3 +454,5 @@ static struct platform_driver ohci_hcd_da8xx_driver = {
.name = "ohci",
},
};

MODULE_ALIAS("platform:ohci");

0 comments on commit ab59ac0

Please sign in to comment.