Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

pcmcia: fix platform driver hotplug/coldplug

Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is
prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable PCMCIA
platform drivers, to re-enable auto loading.

[dbrownell@users.sourceforge.net: registration fixes]
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Kay Sievers and committed by
Linus Torvalds
12c2c019 d6c23850

+5
+1
drivers/pcmcia/at91_cf.c
··· 419 419 MODULE_DESCRIPTION("AT91 Compact Flash Driver"); 420 420 MODULE_AUTHOR("David Brownell"); 421 421 MODULE_LICENSE("GPL"); 422 + MODULE_ALIAS("platform:at91_cf");
+2
drivers/pcmcia/omap_cf.c
··· 344 344 static struct platform_driver omap_cf_driver = { 345 345 .driver = { 346 346 .name = (char *) driver_name, 347 + .owner = THIS_MODULE, 347 348 }, 348 349 .remove = __exit_p(omap_cf_remove), 349 350 .suspend = omap_cf_suspend, ··· 369 368 370 369 MODULE_DESCRIPTION("OMAP CF Driver"); 371 370 MODULE_LICENSE("GPL"); 371 + MODULE_ALIAS("platform:omap_cf");
+2
drivers/pcmcia/pxa2xx_base.c
··· 239 239 .resume = pxa2xx_drv_pcmcia_resume, 240 240 .driver = { 241 241 .name = "pxa2xx-pcmcia", 242 + .owner = THIS_MODULE, 242 243 }, 243 244 }; 244 245 ··· 259 258 MODULE_AUTHOR("Stefan Eletzhofer <stefan.eletzhofer@inquant.de> and Ian Molton <spyro@f2s.com>"); 260 259 MODULE_DESCRIPTION("Linux PCMCIA Card Services: PXA2xx core socket driver"); 261 260 MODULE_LICENSE("GPL"); 261 + MODULE_ALIAS("platform:pxa2xx-pcmcia");