diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2005-09-03 14:39:25 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-09-03 14:39:25 -0400 |
commit | f36598aeca4c2dbaa607bf6f774e38eb965402f2 (patch) | |
tree | e3f6ac9524f05d821b5fbe0c547c268ae3bedc3f | |
parent | f505380ba7b98ec97bf25300c2a58aeae903530b (diff) |
[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: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | drivers/pcmcia/pxa2xx_base.c | 2 | ||||
-rw-r--r-- | drivers/pcmcia/pxa2xx_mainstone.c | 2 | ||||
-rw-r--r-- | drivers/pcmcia/pxa2xx_sharpsl.c | 2 | ||||
-rw-r--r-- | drivers/pcmcia/sa1100_generic.c | 2 | ||||
-rw-r--r-- | drivers/pcmcia/sa1111_generic.c | 2 | ||||
-rw-r--r-- | drivers/pcmcia/sa11xx_base.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/drivers/pcmcia/pxa2xx_base.c b/drivers/pcmcia/pxa2xx_base.c index 3e23cd461fb1..325c992f7d8f 100644 --- a/drivers/pcmcia/pxa2xx_base.c +++ b/drivers/pcmcia/pxa2xx_base.c | |||
@@ -246,7 +246,7 @@ static void __exit pxa2xx_pcmcia_exit(void) | |||
246 | driver_unregister(&pxa2xx_pcmcia_driver); | 246 | driver_unregister(&pxa2xx_pcmcia_driver); |
247 | } | 247 | } |
248 | 248 | ||
249 | module_init(pxa2xx_pcmcia_init); | 249 | fs_initcall(pxa2xx_pcmcia_init); |
250 | module_exit(pxa2xx_pcmcia_exit); | 250 | module_exit(pxa2xx_pcmcia_exit); |
251 | 251 | ||
252 | MODULE_AUTHOR("Stefan Eletzhofer <stefan.eletzhofer@inquant.de> and Ian Molton <spyro@f2s.com>"); | 252 | MODULE_AUTHOR("Stefan Eletzhofer <stefan.eletzhofer@inquant.de> and Ian Molton <spyro@f2s.com>"); |
diff --git a/drivers/pcmcia/pxa2xx_mainstone.c b/drivers/pcmcia/pxa2xx_mainstone.c index 5309734e1687..bbe69b07ce50 100644 --- a/drivers/pcmcia/pxa2xx_mainstone.c +++ b/drivers/pcmcia/pxa2xx_mainstone.c | |||
@@ -196,7 +196,7 @@ static void __exit mst_pcmcia_exit(void) | |||
196 | platform_device_unregister(mst_pcmcia_device); | 196 | platform_device_unregister(mst_pcmcia_device); |
197 | } | 197 | } |
198 | 198 | ||
199 | module_init(mst_pcmcia_init); | 199 | fs_initcall(mst_pcmcia_init); |
200 | module_exit(mst_pcmcia_exit); | 200 | module_exit(mst_pcmcia_exit); |
201 | 201 | ||
202 | MODULE_LICENSE("GPL"); | 202 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/pcmcia/pxa2xx_sharpsl.c b/drivers/pcmcia/pxa2xx_sharpsl.c index 42efe218867a..7bac2f7d8b3f 100644 --- a/drivers/pcmcia/pxa2xx_sharpsl.c +++ b/drivers/pcmcia/pxa2xx_sharpsl.c | |||
@@ -257,7 +257,7 @@ static void __exit sharpsl_pcmcia_exit(void) | |||
257 | platform_device_unregister(sharpsl_pcmcia_device); | 257 | platform_device_unregister(sharpsl_pcmcia_device); |
258 | } | 258 | } |
259 | 259 | ||
260 | module_init(sharpsl_pcmcia_init); | 260 | fs_initcall(sharpsl_pcmcia_init); |
261 | module_exit(sharpsl_pcmcia_exit); | 261 | module_exit(sharpsl_pcmcia_exit); |
262 | 262 | ||
263 | MODULE_DESCRIPTION("Sharp SL Series PCMCIA Support"); | 263 | MODULE_DESCRIPTION("Sharp SL Series PCMCIA Support"); |
diff --git a/drivers/pcmcia/sa1100_generic.c b/drivers/pcmcia/sa1100_generic.c index e98bb3d80e7c..d4ed508b38be 100644 --- a/drivers/pcmcia/sa1100_generic.c +++ b/drivers/pcmcia/sa1100_generic.c | |||
@@ -126,5 +126,5 @@ MODULE_AUTHOR("John Dorsey <john+@cs.cmu.edu>"); | |||
126 | MODULE_DESCRIPTION("Linux PCMCIA Card Services: SA-11x0 Socket Controller"); | 126 | MODULE_DESCRIPTION("Linux PCMCIA Card Services: SA-11x0 Socket Controller"); |
127 | MODULE_LICENSE("Dual MPL/GPL"); | 127 | MODULE_LICENSE("Dual MPL/GPL"); |
128 | 128 | ||
129 | module_init(sa11x0_pcmcia_init); | 129 | fs_initcall(sa11x0_pcmcia_init); |
130 | module_exit(sa11x0_pcmcia_exit); | 130 | module_exit(sa11x0_pcmcia_exit); |
diff --git a/drivers/pcmcia/sa1111_generic.c b/drivers/pcmcia/sa1111_generic.c index b441f43a6a55..bb90a1448a53 100644 --- a/drivers/pcmcia/sa1111_generic.c +++ b/drivers/pcmcia/sa1111_generic.c | |||
@@ -189,7 +189,7 @@ static void __exit sa1111_drv_pcmcia_exit(void) | |||
189 | sa1111_driver_unregister(&pcmcia_driver); | 189 | sa1111_driver_unregister(&pcmcia_driver); |
190 | } | 190 | } |
191 | 191 | ||
192 | module_init(sa1111_drv_pcmcia_init); | 192 | fs_initcall(sa1111_drv_pcmcia_init); |
193 | module_exit(sa1111_drv_pcmcia_exit); | 193 | module_exit(sa1111_drv_pcmcia_exit); |
194 | 194 | ||
195 | MODULE_DESCRIPTION("SA1111 PCMCIA card socket driver"); | 195 | MODULE_DESCRIPTION("SA1111 PCMCIA card socket driver"); |
diff --git a/drivers/pcmcia/sa11xx_base.c b/drivers/pcmcia/sa11xx_base.c index db04ffb6f68c..59c5d968e9f6 100644 --- a/drivers/pcmcia/sa11xx_base.c +++ b/drivers/pcmcia/sa11xx_base.c | |||
@@ -189,7 +189,7 @@ static int __init sa11xx_pcmcia_init(void) | |||
189 | { | 189 | { |
190 | return 0; | 190 | return 0; |
191 | } | 191 | } |
192 | module_init(sa11xx_pcmcia_init); | 192 | fs_initcall(sa11xx_pcmcia_init); |
193 | 193 | ||
194 | static void __exit sa11xx_pcmcia_exit(void) {} | 194 | static void __exit sa11xx_pcmcia_exit(void) {} |
195 | 195 | ||