forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pcmcia: fix platform driver hotplug/coldplug
Since 43cc71e, the platform modalias is prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable PCMCIA platform drivers, to re-enable auto loading. [[email protected]: registration fixes] Signed-off-by: Kay Sievers <[email protected]> Signed-off-by: David Brownell <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information
1 parent
d6c2385
commit 12c2c01
Showing
3 changed files
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -239,6 +239,7 @@ static struct platform_driver pxa2xx_pcmcia_driver = { | |
.resume = pxa2xx_drv_pcmcia_resume, | ||
.driver = { | ||
.name = "pxa2xx-pcmcia", | ||
.owner = THIS_MODULE, | ||
}, | ||
}; | ||
|
||
|
@@ -258,3 +259,4 @@ module_exit(pxa2xx_pcmcia_exit); | |
MODULE_AUTHOR("Stefan Eletzhofer <[email protected]> and Ian Molton <[email protected]>"); | ||
MODULE_DESCRIPTION("Linux PCMCIA Card Services: PXA2xx core socket driver"); | ||
MODULE_LICENSE("GPL"); | ||
MODULE_ALIAS("platform:pxa2xx-pcmcia"); |