From 8c0278bf41a7053fb52e0d7b12507682e2e2e33c Mon Sep 17 00:00:00 2001 From: David Brownell Date: Tue, 26 Jul 2005 00:57:42 -0700 Subject: [PATCH] [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 --- drivers/usb/host/ohci-omap.c | 1 + 1 file changed, 1 insertion(+) 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, -- 2.41.1