Commit 8c0278bf authored by David Brownell's avatar David Brownell Committed by Tony Lindgren

[PATCH] ARM: OMAP: ohci MODULE_ALIAS

Since the platform device and module name differ, this needs a
MODULE_ALIAS to support coldplug configurations.

Alias the "ohci-hcd" module as "ohci" so that coldplug works
when this driver module is being dynamically linked.
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent d32ce4c7
......@@ -514,6 +514,7 @@ static int ohci_omap_resume(struct device *dev, u32 level)
/*
* Driver definition to register with the OMAP bus
*/
MODULE_ALIAS("ohci");
static struct device_driver ohci_hcd_omap_driver = {
.name = "ohci",
.bus = &platform_bus_type,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment