From: David Brownell Date: Tue, 26 Jul 2005 07:57:42 +0000 (-0700) Subject: [PATCH] ARM: OMAP: ohci MODULE_ALIAS X-Git-Tag: v2.6.13-omap1~63 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8c0278bf41a7053fb52e0d7b12507682e2e2e33c;p=linux-2.6-omap-h63xx.git [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: David Brownell Signed-off-by: Tony Lindgren --- diff --git a/drivers/usb/host/ohci-omap.c b/drivers/usb/host/ohci-omap.c index c2fd690cdb9..03bdbf5a69c 100644 --- a/drivers/usb/host/ohci-omap.c +++ b/drivers/usb/host/ohci-omap.c @@ -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,