]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ARM: OMAP: ohci MODULE_ALIAS
authorDavid Brownell <david-b@pacbell.net>
Tue, 26 Jul 2005 07:57:42 +0000 (00:57 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 26 Jul 2005 07:57:42 +0000 (00:57 -0700)
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: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/host/ohci-omap.c

index c2fd690cdb9849f4848e263d8f42fc37bc8ff9d9..03bdbf5a69cec4cd734bcd21c05ea6088b07fdb7 100644 (file)
@@ -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,