Commit f36598ae authored by Richard Purdie's avatar Richard Purdie Committed by Russell King

[ARM] 2873/1: PCMCIA soc: Allow access to filesystems on CF at boot time

Patch from Richard Purdie

This change makes the soc pcmcia interfaces available earlier in the
boot process meaning devices like CF microdrives can be used for the
root filesystem.
Signed-off-by: default avatarRichard Purdie <rpurdie@rpsys.net>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent f505380b
...@@ -246,7 +246,7 @@ static void __exit pxa2xx_pcmcia_exit(void) ...@@ -246,7 +246,7 @@ static void __exit pxa2xx_pcmcia_exit(void)
driver_unregister(&pxa2xx_pcmcia_driver); driver_unregister(&pxa2xx_pcmcia_driver);
} }
module_init(pxa2xx_pcmcia_init); fs_initcall(pxa2xx_pcmcia_init);
module_exit(pxa2xx_pcmcia_exit); module_exit(pxa2xx_pcmcia_exit);
MODULE_AUTHOR("Stefan Eletzhofer <stefan.eletzhofer@inquant.de> and Ian Molton <spyro@f2s.com>"); MODULE_AUTHOR("Stefan Eletzhofer <stefan.eletzhofer@inquant.de> and Ian Molton <spyro@f2s.com>");
......
...@@ -196,7 +196,7 @@ static void __exit mst_pcmcia_exit(void) ...@@ -196,7 +196,7 @@ static void __exit mst_pcmcia_exit(void)
platform_device_unregister(mst_pcmcia_device); platform_device_unregister(mst_pcmcia_device);
} }
module_init(mst_pcmcia_init); fs_initcall(mst_pcmcia_init);
module_exit(mst_pcmcia_exit); module_exit(mst_pcmcia_exit);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -257,7 +257,7 @@ static void __exit sharpsl_pcmcia_exit(void) ...@@ -257,7 +257,7 @@ static void __exit sharpsl_pcmcia_exit(void)
platform_device_unregister(sharpsl_pcmcia_device); platform_device_unregister(sharpsl_pcmcia_device);
} }
module_init(sharpsl_pcmcia_init); fs_initcall(sharpsl_pcmcia_init);
module_exit(sharpsl_pcmcia_exit); module_exit(sharpsl_pcmcia_exit);
MODULE_DESCRIPTION("Sharp SL Series PCMCIA Support"); MODULE_DESCRIPTION("Sharp SL Series PCMCIA Support");
......
...@@ -126,5 +126,5 @@ MODULE_AUTHOR("John Dorsey <john+@cs.cmu.edu>"); ...@@ -126,5 +126,5 @@ MODULE_AUTHOR("John Dorsey <john+@cs.cmu.edu>");
MODULE_DESCRIPTION("Linux PCMCIA Card Services: SA-11x0 Socket Controller"); MODULE_DESCRIPTION("Linux PCMCIA Card Services: SA-11x0 Socket Controller");
MODULE_LICENSE("Dual MPL/GPL"); MODULE_LICENSE("Dual MPL/GPL");
module_init(sa11x0_pcmcia_init); fs_initcall(sa11x0_pcmcia_init);
module_exit(sa11x0_pcmcia_exit); module_exit(sa11x0_pcmcia_exit);
...@@ -189,7 +189,7 @@ static void __exit sa1111_drv_pcmcia_exit(void) ...@@ -189,7 +189,7 @@ static void __exit sa1111_drv_pcmcia_exit(void)
sa1111_driver_unregister(&pcmcia_driver); sa1111_driver_unregister(&pcmcia_driver);
} }
module_init(sa1111_drv_pcmcia_init); fs_initcall(sa1111_drv_pcmcia_init);
module_exit(sa1111_drv_pcmcia_exit); module_exit(sa1111_drv_pcmcia_exit);
MODULE_DESCRIPTION("SA1111 PCMCIA card socket driver"); MODULE_DESCRIPTION("SA1111 PCMCIA card socket driver");
......
...@@ -189,7 +189,7 @@ static int __init sa11xx_pcmcia_init(void) ...@@ -189,7 +189,7 @@ static int __init sa11xx_pcmcia_init(void)
{ {
return 0; return 0;
} }
module_init(sa11xx_pcmcia_init); fs_initcall(sa11xx_pcmcia_init);
static void __exit sa11xx_pcmcia_exit(void) {} static void __exit sa11xx_pcmcia_exit(void) {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment