diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-04-15 17:34:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-15 22:35:40 -0400 |
commit | bc65c724d5a2c61539b2c52680941505152fcf30 (patch) | |
tree | 99e038d8239e9a8b1517188299fa9fa6d70b2da9 /drivers/mmc/host/imxmmc.c | |
parent | bead9a3abd15710b0bdfd418daef606722d86282 (diff) |
mmc: fix platform driver hotplug/coldplug
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is
prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable MMC host
platform drivers, to re-enable auto loading.
Also, add missing owner declarations in driver init.
[dbrownell@users.sourceforge.net: registration fixes]
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mmc/host/imxmmc.c')
-rw-r--r-- | drivers/mmc/host/imxmmc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/imxmmc.c b/drivers/mmc/host/imxmmc.c index f2070a19cfa7..95f33e87a99c 100644 --- a/drivers/mmc/host/imxmmc.c +++ b/drivers/mmc/host/imxmmc.c | |||
@@ -1128,6 +1128,7 @@ static struct platform_driver imxmci_driver = { | |||
1128 | .resume = imxmci_resume, | 1128 | .resume = imxmci_resume, |
1129 | .driver = { | 1129 | .driver = { |
1130 | .name = DRIVER_NAME, | 1130 | .name = DRIVER_NAME, |
1131 | .owner = THIS_MODULE, | ||
1131 | } | 1132 | } |
1132 | }; | 1133 | }; |
1133 | 1134 | ||
@@ -1147,3 +1148,4 @@ module_exit(imxmci_exit); | |||
1147 | MODULE_DESCRIPTION("i.MX Multimedia Card Interface Driver"); | 1148 | MODULE_DESCRIPTION("i.MX Multimedia Card Interface Driver"); |
1148 | MODULE_AUTHOR("Sascha Hauer, Pengutronix"); | 1149 | MODULE_AUTHOR("Sascha Hauer, Pengutronix"); |
1149 | MODULE_LICENSE("GPL"); | 1150 | MODULE_LICENSE("GPL"); |
1151 | MODULE_ALIAS("platform:imx-mmc"); | ||