usb host: fix platform driver hotplug/coldplug

Since 43cc71eed1, the platform modalias is
prefixed with "platform:".  Add MODULE_ALIAS() to the hotpluggable USB HCDs,
to allow re-enable auto loading.

[dbrownell@users.sourceforge.net: more drivers; registration fixes]
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Kay Sievers
2008-04-10 21:29:22 -07:00
committed by Linus Torvalds
parent f34c32f13c
commit f4fce61d41
16 changed files with 30 additions and 6 deletions

View File

@@ -544,3 +544,4 @@ static struct platform_driver ohci_hcd_omap_driver = {
},
};
MODULE_ALIAS("platform:ohci");