aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r--drivers/pcmcia/bfin_cf_pcmcia.c13
-rw-r--r--drivers/pcmcia/db1xxx_ss.c13
-rw-r--r--drivers/pcmcia/electra_cf.c12
-rw-r--r--drivers/pcmcia/m8xx_pcmcia.c13
-rw-r--r--drivers/pcmcia/pxa2xx_viper.c13
-rw-r--r--drivers/pcmcia/xxs1500_ss.c13
6 files changed, 6 insertions, 71 deletions
diff --git a/drivers/pcmcia/bfin_cf_pcmcia.c b/drivers/pcmcia/bfin_cf_pcmcia.c
index 49221395101e..ac1a2232eab9 100644
--- a/drivers/pcmcia/bfin_cf_pcmcia.c
+++ b/drivers/pcmcia/bfin_cf_pcmcia.c
@@ -310,18 +310,7 @@ static struct platform_driver bfin_cf_driver = {
310 .remove = __devexit_p(bfin_cf_remove), 310 .remove = __devexit_p(bfin_cf_remove),
311}; 311};
312 312
313static int __init bfin_cf_init(void) 313module_platform_driver(bfin_cf_driver);
314{
315 return platform_driver_register(&bfin_cf_driver);
316}
317
318static void __exit bfin_cf_exit(void)
319{
320 platform_driver_unregister(&bfin_cf_driver);
321}
322
323module_init(bfin_cf_init);
324module_exit(bfin_cf_exit);
325 314
326MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>"); 315MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>");
327MODULE_DESCRIPTION("BFIN CF/PCMCIA Driver"); 316MODULE_DESCRIPTION("BFIN CF/PCMCIA Driver");
diff --git a/drivers/pcmcia/db1xxx_ss.c b/drivers/pcmcia/db1xxx_ss.c
index deb348cf573e..a484b1fb3382 100644
--- a/drivers/pcmcia/db1xxx_ss.c
+++ b/drivers/pcmcia/db1xxx_ss.c
@@ -580,18 +580,7 @@ static struct platform_driver db1x_pcmcia_socket_driver = {
580 .remove = __devexit_p(db1x_pcmcia_socket_remove), 580 .remove = __devexit_p(db1x_pcmcia_socket_remove),
581}; 581};
582 582
583int __init db1x_pcmcia_socket_load(void) 583module_platform_driver(db1x_pcmcia_socket_driver);
584{
585 return platform_driver_register(&db1x_pcmcia_socket_driver);
586}
587
588void __exit db1x_pcmcia_socket_unload(void)
589{
590 platform_driver_unregister(&db1x_pcmcia_socket_driver);
591}
592
593module_init(db1x_pcmcia_socket_load);
594module_exit(db1x_pcmcia_socket_unload);
595 584
596MODULE_LICENSE("GPL"); 585MODULE_LICENSE("GPL");
597MODULE_DESCRIPTION("PCMCIA Socket Services for Alchemy Db/Pb1x00 boards"); 586MODULE_DESCRIPTION("PCMCIA Socket Services for Alchemy Db/Pb1x00 boards");
diff --git a/drivers/pcmcia/electra_cf.c b/drivers/pcmcia/electra_cf.c
index 06ad3e5e7d3d..7647d232e9e2 100644
--- a/drivers/pcmcia/electra_cf.c
+++ b/drivers/pcmcia/electra_cf.c
@@ -365,17 +365,7 @@ static struct platform_driver electra_cf_driver = {
365 .remove = electra_cf_remove, 365 .remove = electra_cf_remove,
366}; 366};
367 367
368static int __init electra_cf_init(void) 368module_platform_driver(electra_cf_driver);
369{
370 return platform_driver_register(&electra_cf_driver);
371}
372module_init(electra_cf_init);
373
374static void __exit electra_cf_exit(void)
375{
376 platform_driver_unregister(&electra_cf_driver);
377}
378module_exit(electra_cf_exit);
379 369
380MODULE_LICENSE("GPL"); 370MODULE_LICENSE("GPL");
381MODULE_AUTHOR ("Olof Johansson <olof@lixom.net>"); 371MODULE_AUTHOR ("Olof Johansson <olof@lixom.net>");
diff --git a/drivers/pcmcia/m8xx_pcmcia.c b/drivers/pcmcia/m8xx_pcmcia.c
index 271a590a5f3c..b120928cf3e9 100644
--- a/drivers/pcmcia/m8xx_pcmcia.c
+++ b/drivers/pcmcia/m8xx_pcmcia.c
@@ -1304,15 +1304,4 @@ static struct platform_driver m8xx_pcmcia_driver = {
1304 .remove = m8xx_remove, 1304 .remove = m8xx_remove,
1305}; 1305};
1306 1306
1307static int __init m8xx_init(void) 1307module_platform_driver(m8xx_pcmcia_driver);
1308{
1309 return platform_driver_register(&m8xx_pcmcia_driver);
1310}
1311
1312static void __exit m8xx_exit(void)
1313{
1314 platform_driver_unregister(&m8xx_pcmcia_driver);
1315}
1316
1317module_init(m8xx_init);
1318module_exit(m8xx_exit);
diff --git a/drivers/pcmcia/pxa2xx_viper.c b/drivers/pcmcia/pxa2xx_viper.c
index 1064b1c2869d..44f5c7fc9b6f 100644
--- a/drivers/pcmcia/pxa2xx_viper.c
+++ b/drivers/pcmcia/pxa2xx_viper.c
@@ -204,18 +204,7 @@ static struct platform_driver viper_pcmcia_driver = {
204 .id_table = viper_pcmcia_id_table, 204 .id_table = viper_pcmcia_id_table,
205}; 205};
206 206
207static int __init viper_pcmcia_init(void) 207module_platform_driver(viper_pcmcia_driver);
208{
209 return platform_driver_register(&viper_pcmcia_driver);
210}
211
212static void __exit viper_pcmcia_exit(void)
213{
214 return platform_driver_unregister(&viper_pcmcia_driver);
215}
216
217module_init(viper_pcmcia_init);
218module_exit(viper_pcmcia_exit);
219 208
220MODULE_DEVICE_TABLE(platform, viper_pcmcia_id_table); 209MODULE_DEVICE_TABLE(platform, viper_pcmcia_id_table);
221MODULE_LICENSE("GPL"); 210MODULE_LICENSE("GPL");
diff --git a/drivers/pcmcia/xxs1500_ss.c b/drivers/pcmcia/xxs1500_ss.c
index 379f4218857d..1ceff698c654 100644
--- a/drivers/pcmcia/xxs1500_ss.c
+++ b/drivers/pcmcia/xxs1500_ss.c
@@ -321,18 +321,7 @@ static struct platform_driver xxs1500_pcmcia_socket_driver = {
321 .remove = __devexit_p(xxs1500_pcmcia_remove), 321 .remove = __devexit_p(xxs1500_pcmcia_remove),
322}; 322};
323 323
324int __init xxs1500_pcmcia_socket_load(void) 324module_platform_driver(xxs1500_pcmcia_socket_driver);
325{
326 return platform_driver_register(&xxs1500_pcmcia_socket_driver);
327}
328
329void __exit xxs1500_pcmcia_socket_unload(void)
330{
331 platform_driver_unregister(&xxs1500_pcmcia_socket_driver);
332}
333
334module_init(xxs1500_pcmcia_socket_load);
335module_exit(xxs1500_pcmcia_socket_unload);
336 325
337MODULE_LICENSE("GPL"); 326MODULE_LICENSE("GPL");
338MODULE_DESCRIPTION("PCMCIA Socket Services for MyCable XXS1500 systems"); 327MODULE_DESCRIPTION("PCMCIA Socket Services for MyCable XXS1500 systems");