aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ata/pata_pcmcia.c4
-rw-r--r--drivers/bluetooth/bluecard_cs.c4
-rw-r--r--drivers/bluetooth/bt3c_cs.c4
-rw-r--r--drivers/bluetooth/btuart_cs.c4
-rw-r--r--drivers/bluetooth/dtl1_cs.c4
-rw-r--r--drivers/char/pcmcia/cm4000_cs.c4
-rw-r--r--drivers/char/pcmcia/cm4040_cs.c4
-rw-r--r--drivers/char/pcmcia/ipwireless/main.c2
-rw-r--r--drivers/char/pcmcia/synclink_cs.c4
-rw-r--r--drivers/ide/ide-cs.c4
-rw-r--r--drivers/isdn/hardware/avm/avm_cs.c4
-rw-r--r--drivers/isdn/hisax/avma1_cs.c4
-rw-r--r--drivers/isdn/hisax/elsa_cs.c4
-rw-r--r--drivers/isdn/hisax/sedlbauer_cs.c4
-rw-r--r--drivers/isdn/hisax/teles_cs.c4
-rw-r--r--drivers/mmc/host/sdricoh_cs.c4
-rw-r--r--drivers/mtd/maps/pcmciamtd.c4
-rw-r--r--drivers/net/pcmcia/3c574_cs.c4
-rw-r--r--drivers/net/pcmcia/3c589_cs.c4
-rw-r--r--drivers/net/pcmcia/axnet_cs.c4
-rw-r--r--drivers/net/pcmcia/com20020_cs.c4
-rw-r--r--drivers/net/pcmcia/fmvj18x_cs.c4
-rw-r--r--drivers/net/pcmcia/ibmtr_cs.c4
-rw-r--r--drivers/net/pcmcia/nmclan_cs.c4
-rw-r--r--drivers/net/pcmcia/pcnet_cs.c4
-rw-r--r--drivers/net/pcmcia/smc91c92_cs.c4
-rw-r--r--drivers/net/pcmcia/xirc2ps_cs.c4
-rw-r--r--drivers/net/wireless/airo_cs.c4
-rw-r--r--drivers/net/wireless/atmel_cs.c4
-rw-r--r--drivers/net/wireless/b43/pcmcia.c4
-rw-r--r--drivers/net/wireless/hostap/hostap_cs.c4
-rw-r--r--drivers/net/wireless/libertas/if_cs.c4
-rw-r--r--drivers/net/wireless/orinoco/orinoco_cs.c4
-rw-r--r--drivers/net/wireless/orinoco/spectrum_cs.c4
-rw-r--r--drivers/net/wireless/ray_cs.c4
-rw-r--r--drivers/net/wireless/wl3501_cs.c4
-rw-r--r--drivers/parport/parport_cs.c4
-rw-r--r--drivers/pcmcia/ds.c21
-rw-r--r--drivers/scsi/pcmcia/aha152x_stub.c4
-rw-r--r--drivers/scsi/pcmcia/fdomain_stub.c4
-rw-r--r--drivers/scsi/pcmcia/nsp_cs.c4
-rw-r--r--drivers/scsi/pcmcia/qlogic_stub.c2
-rw-r--r--drivers/scsi/pcmcia/sym53c500_cs.c4
-rw-r--r--drivers/serial/serial_cs.c4
-rw-r--r--drivers/staging/comedi/drivers/cb_das16_cs.c4
-rw-r--r--drivers/staging/comedi/drivers/das08_cs.c4
-rw-r--r--drivers/staging/comedi/drivers/ni_daq_700.c4
-rw-r--r--drivers/staging/comedi/drivers/ni_daq_dio24.c4
-rw-r--r--drivers/staging/comedi/drivers/ni_labpc_cs.c4
-rw-r--r--drivers/staging/comedi/drivers/ni_mio_cs.c4
-rw-r--r--drivers/staging/comedi/drivers/quatech_daqp_cs.c4
-rw-r--r--drivers/staging/wlags49_h2/wl_cs.c4
-rw-r--r--drivers/telephony/ixj_pcmcia.c4
-rw-r--r--drivers/usb/host/sl811_cs.c4
54 files changed, 63 insertions, 166 deletions
diff --git a/drivers/ata/pata_pcmcia.c b/drivers/ata/pata_pcmcia.c
index 88cb03c36963..806292160b3f 100644
--- a/drivers/ata/pata_pcmcia.c
+++ b/drivers/ata/pata_pcmcia.c
@@ -382,9 +382,7 @@ MODULE_DEVICE_TABLE(pcmcia, pcmcia_devices);
382 382
383static struct pcmcia_driver pcmcia_driver = { 383static struct pcmcia_driver pcmcia_driver = {
384 .owner = THIS_MODULE, 384 .owner = THIS_MODULE,
385 .drv = { 385 .name = DRV_NAME,
386 .name = DRV_NAME,
387 },
388 .id_table = pcmcia_devices, 386 .id_table = pcmcia_devices,
389 .probe = pcmcia_init_one, 387 .probe = pcmcia_init_one,
390 .remove = pcmcia_remove_one, 388 .remove = pcmcia_remove_one,
diff --git a/drivers/bluetooth/bluecard_cs.c b/drivers/bluetooth/bluecard_cs.c
index c9dd5b789d25..4104b7feae67 100644
--- a/drivers/bluetooth/bluecard_cs.c
+++ b/drivers/bluetooth/bluecard_cs.c
@@ -940,9 +940,7 @@ MODULE_DEVICE_TABLE(pcmcia, bluecard_ids);
940 940
941static struct pcmcia_driver bluecard_driver = { 941static struct pcmcia_driver bluecard_driver = {
942 .owner = THIS_MODULE, 942 .owner = THIS_MODULE,
943 .drv = { 943 .name = "bluecard_cs",
944 .name = "bluecard_cs",
945 },
946 .probe = bluecard_probe, 944 .probe = bluecard_probe,
947 .remove = bluecard_detach, 945 .remove = bluecard_detach,
948 .id_table = bluecard_ids, 946 .id_table = bluecard_ids,
diff --git a/drivers/bluetooth/bt3c_cs.c b/drivers/bluetooth/bt3c_cs.c
index 8b8be35fe312..0c8a65587491 100644
--- a/drivers/bluetooth/bt3c_cs.c
+++ b/drivers/bluetooth/bt3c_cs.c
@@ -769,9 +769,7 @@ MODULE_DEVICE_TABLE(pcmcia, bt3c_ids);
769 769
770static struct pcmcia_driver bt3c_driver = { 770static struct pcmcia_driver bt3c_driver = {
771 .owner = THIS_MODULE, 771 .owner = THIS_MODULE,
772 .drv = { 772 .name = "bt3c_cs",
773 .name = "bt3c_cs",
774 },
775 .probe = bt3c_probe, 773 .probe = bt3c_probe,
776 .remove = bt3c_detach, 774 .remove = bt3c_detach,
777 .id_table = bt3c_ids, 775 .id_table = bt3c_ids,
diff --git a/drivers/bluetooth/btuart_cs.c b/drivers/bluetooth/btuart_cs.c
index 9f9bb69dc0a2..f8a0708e2311 100644
--- a/drivers/bluetooth/btuart_cs.c
+++ b/drivers/bluetooth/btuart_cs.c
@@ -697,9 +697,7 @@ MODULE_DEVICE_TABLE(pcmcia, btuart_ids);
697 697
698static struct pcmcia_driver btuart_driver = { 698static struct pcmcia_driver btuart_driver = {
699 .owner = THIS_MODULE, 699 .owner = THIS_MODULE,
700 .drv = { 700 .name = "btuart_cs",
701 .name = "btuart_cs",
702 },
703 .probe = btuart_probe, 701 .probe = btuart_probe,
704 .remove = btuart_detach, 702 .remove = btuart_detach,
705 .id_table = btuart_ids, 703 .id_table = btuart_ids,
diff --git a/drivers/bluetooth/dtl1_cs.c b/drivers/bluetooth/dtl1_cs.c
index 12cd177132fc..26ee0cf88d20 100644
--- a/drivers/bluetooth/dtl1_cs.c
+++ b/drivers/bluetooth/dtl1_cs.c
@@ -647,9 +647,7 @@ MODULE_DEVICE_TABLE(pcmcia, dtl1_ids);
647 647
648static struct pcmcia_driver dtl1_driver = { 648static struct pcmcia_driver dtl1_driver = {
649 .owner = THIS_MODULE, 649 .owner = THIS_MODULE,
650 .drv = { 650 .name = "dtl1_cs",
651 .name = "dtl1_cs",
652 },
653 .probe = dtl1_probe, 651 .probe = dtl1_probe,
654 .remove = dtl1_detach, 652 .remove = dtl1_detach,
655 .id_table = dtl1_ids, 653 .id_table = dtl1_ids,
diff --git a/drivers/char/pcmcia/cm4000_cs.c b/drivers/char/pcmcia/cm4000_cs.c
index 79de9ccb8caf..e932526d4561 100644
--- a/drivers/char/pcmcia/cm4000_cs.c
+++ b/drivers/char/pcmcia/cm4000_cs.c
@@ -1877,9 +1877,7 @@ MODULE_DEVICE_TABLE(pcmcia, cm4000_ids);
1877 1877
1878static struct pcmcia_driver cm4000_driver = { 1878static struct pcmcia_driver cm4000_driver = {
1879 .owner = THIS_MODULE, 1879 .owner = THIS_MODULE,
1880 .drv = { 1880 .name = "cm4000_cs",
1881 .name = "cm4000_cs",
1882 },
1883 .probe = cm4000_probe, 1881 .probe = cm4000_probe,
1884 .remove = cm4000_detach, 1882 .remove = cm4000_detach,
1885 .suspend = cm4000_suspend, 1883 .suspend = cm4000_suspend,
diff --git a/drivers/char/pcmcia/cm4040_cs.c b/drivers/char/pcmcia/cm4040_cs.c
index bf012d228a9e..d7e2bec02485 100644
--- a/drivers/char/pcmcia/cm4040_cs.c
+++ b/drivers/char/pcmcia/cm4040_cs.c
@@ -643,9 +643,7 @@ MODULE_DEVICE_TABLE(pcmcia, cm4040_ids);
643 643
644static struct pcmcia_driver reader_driver = { 644static struct pcmcia_driver reader_driver = {
645 .owner = THIS_MODULE, 645 .owner = THIS_MODULE,
646 .drv = { 646 .name = "cm4040_cs",
647 .name = "cm4040_cs",
648 },
649 .probe = reader_probe, 647 .probe = reader_probe,
650 .remove = reader_detach, 648 .remove = reader_detach,
651 .id_table = cm4040_ids, 649 .id_table = cm4040_ids,
diff --git a/drivers/char/pcmcia/ipwireless/main.c b/drivers/char/pcmcia/ipwireless/main.c
index 594c23be69f5..a1b808346691 100644
--- a/drivers/char/pcmcia/ipwireless/main.c
+++ b/drivers/char/pcmcia/ipwireless/main.c
@@ -295,7 +295,7 @@ static struct pcmcia_driver me = {
295 .owner = THIS_MODULE, 295 .owner = THIS_MODULE,
296 .probe = ipwireless_attach, 296 .probe = ipwireless_attach,
297 .remove = ipwireless_detach, 297 .remove = ipwireless_detach,
298 .drv = { .name = IPWIRELESS_PCCARD_NAME }, 298 .name = IPWIRELESS_PCCARD_NAME,
299 .id_table = ipw_ids 299 .id_table = ipw_ids
300}; 300};
301 301
diff --git a/drivers/char/pcmcia/synclink_cs.c b/drivers/char/pcmcia/synclink_cs.c
index 7c71913714ca..493dba51115b 100644
--- a/drivers/char/pcmcia/synclink_cs.c
+++ b/drivers/char/pcmcia/synclink_cs.c
@@ -2773,9 +2773,7 @@ MODULE_DEVICE_TABLE(pcmcia, mgslpc_ids);
2773 2773
2774static struct pcmcia_driver mgslpc_driver = { 2774static struct pcmcia_driver mgslpc_driver = {
2775 .owner = THIS_MODULE, 2775 .owner = THIS_MODULE,
2776 .drv = { 2776 .name = "synclink_cs",
2777 .name = "synclink_cs",
2778 },
2779 .probe = mgslpc_probe, 2777 .probe = mgslpc_probe,
2780 .remove = mgslpc_detach, 2778 .remove = mgslpc_detach,
2781 .id_table = mgslpc_ids, 2779 .id_table = mgslpc_ids,
diff --git a/drivers/ide/ide-cs.c b/drivers/ide/ide-cs.c
index c389d9a28881..54702cc8e0d4 100644
--- a/drivers/ide/ide-cs.c
+++ b/drivers/ide/ide-cs.c
@@ -389,9 +389,7 @@ MODULE_DEVICE_TABLE(pcmcia, ide_ids);
389 389
390static struct pcmcia_driver ide_cs_driver = { 390static struct pcmcia_driver ide_cs_driver = {
391 .owner = THIS_MODULE, 391 .owner = THIS_MODULE,
392 .drv = { 392 .name = "ide-cs",
393 .name = "ide-cs",
394 },
395 .probe = ide_probe, 393 .probe = ide_probe,
396 .remove = ide_detach, 394 .remove = ide_detach,
397 .id_table = ide_ids, 395 .id_table = ide_ids,
diff --git a/drivers/isdn/hardware/avm/avm_cs.c b/drivers/isdn/hardware/avm/avm_cs.c
index 403a995bec95..b172361bbef8 100644
--- a/drivers/isdn/hardware/avm/avm_cs.c
+++ b/drivers/isdn/hardware/avm/avm_cs.c
@@ -210,9 +210,7 @@ MODULE_DEVICE_TABLE(pcmcia, avmcs_ids);
210 210
211static struct pcmcia_driver avmcs_driver = { 211static struct pcmcia_driver avmcs_driver = {
212 .owner = THIS_MODULE, 212 .owner = THIS_MODULE,
213 .drv = { 213 .name = "avm_cs",
214 .name = "avm_cs",
215 },
216 .probe = avmcs_probe, 214 .probe = avmcs_probe,
217 .remove = avmcs_detach, 215 .remove = avmcs_detach,
218 .id_table = avmcs_ids, 216 .id_table = avmcs_ids,
diff --git a/drivers/isdn/hisax/avma1_cs.c b/drivers/isdn/hisax/avma1_cs.c
index 47590e0a63dc..314bc86bf92b 100644
--- a/drivers/isdn/hisax/avma1_cs.c
+++ b/drivers/isdn/hisax/avma1_cs.c
@@ -210,9 +210,7 @@ MODULE_DEVICE_TABLE(pcmcia, avma1cs_ids);
210 210
211static struct pcmcia_driver avma1cs_driver = { 211static struct pcmcia_driver avma1cs_driver = {
212 .owner = THIS_MODULE, 212 .owner = THIS_MODULE,
213 .drv = { 213 .name = "avma1_cs",
214 .name = "avma1_cs",
215 },
216 .probe = avma1cs_probe, 214 .probe = avma1cs_probe,
217 .remove = __devexit_p(avma1cs_detach), 215 .remove = __devexit_p(avma1cs_detach),
218 .id_table = avma1cs_ids, 216 .id_table = avma1cs_ids,
diff --git a/drivers/isdn/hisax/elsa_cs.c b/drivers/isdn/hisax/elsa_cs.c
index b37b9f0f7fdc..2d439a79fd88 100644
--- a/drivers/isdn/hisax/elsa_cs.c
+++ b/drivers/isdn/hisax/elsa_cs.c
@@ -266,9 +266,7 @@ MODULE_DEVICE_TABLE(pcmcia, elsa_ids);
266 266
267static struct pcmcia_driver elsa_cs_driver = { 267static struct pcmcia_driver elsa_cs_driver = {
268 .owner = THIS_MODULE, 268 .owner = THIS_MODULE,
269 .drv = { 269 .name = "elsa_cs",
270 .name = "elsa_cs",
271 },
272 .probe = elsa_cs_probe, 270 .probe = elsa_cs_probe,
273 .remove = __devexit_p(elsa_cs_detach), 271 .remove = __devexit_p(elsa_cs_detach),
274 .id_table = elsa_ids, 272 .id_table = elsa_ids,
diff --git a/drivers/isdn/hisax/sedlbauer_cs.c b/drivers/isdn/hisax/sedlbauer_cs.c
index ff17dba175c4..9e5c4fd08671 100644
--- a/drivers/isdn/hisax/sedlbauer_cs.c
+++ b/drivers/isdn/hisax/sedlbauer_cs.c
@@ -284,9 +284,7 @@ MODULE_DEVICE_TABLE(pcmcia, sedlbauer_ids);
284 284
285static struct pcmcia_driver sedlbauer_driver = { 285static struct pcmcia_driver sedlbauer_driver = {
286 .owner = THIS_MODULE, 286 .owner = THIS_MODULE,
287 .drv = { 287 .name = "sedlbauer_cs",
288 .name = "sedlbauer_cs",
289 },
290 .probe = sedlbauer_probe, 288 .probe = sedlbauer_probe,
291 .remove = __devexit_p(sedlbauer_detach), 289 .remove = __devexit_p(sedlbauer_detach),
292 .id_table = sedlbauer_ids, 290 .id_table = sedlbauer_ids,
diff --git a/drivers/isdn/hisax/teles_cs.c b/drivers/isdn/hisax/teles_cs.c
index 13ba9abfc9b5..82f09b864846 100644
--- a/drivers/isdn/hisax/teles_cs.c
+++ b/drivers/isdn/hisax/teles_cs.c
@@ -255,9 +255,7 @@ MODULE_DEVICE_TABLE(pcmcia, teles_ids);
255 255
256static struct pcmcia_driver teles_cs_driver = { 256static struct pcmcia_driver teles_cs_driver = {
257 .owner = THIS_MODULE, 257 .owner = THIS_MODULE,
258 .drv = { 258 .name = "teles_cs",
259 .name = "teles_cs",
260 },
261 .probe = teles_probe, 259 .probe = teles_probe,
262 .remove = __devexit_p(teles_detach), 260 .remove = __devexit_p(teles_detach),
263 .id_table = teles_ids, 261 .id_table = teles_ids,
diff --git a/drivers/mmc/host/sdricoh_cs.c b/drivers/mmc/host/sdricoh_cs.c
index 7a7273b09d9a..f472c2714eb8 100644
--- a/drivers/mmc/host/sdricoh_cs.c
+++ b/drivers/mmc/host/sdricoh_cs.c
@@ -535,9 +535,7 @@ static int sdricoh_pcmcia_resume(struct pcmcia_device *link)
535#endif 535#endif
536 536
537static struct pcmcia_driver sdricoh_driver = { 537static struct pcmcia_driver sdricoh_driver = {
538 .drv = { 538 .name = DRIVER_NAME,
539 .name = DRIVER_NAME,
540 },
541 .probe = sdricoh_pcmcia_probe, 539 .probe = sdricoh_pcmcia_probe,
542 .remove = sdricoh_pcmcia_detach, 540 .remove = sdricoh_pcmcia_detach,
543 .id_table = pcmcia_ids, 541 .id_table = pcmcia_ids,
diff --git a/drivers/mtd/maps/pcmciamtd.c b/drivers/mtd/maps/pcmciamtd.c
index 388db9ecf222..214c695a2398 100644
--- a/drivers/mtd/maps/pcmciamtd.c
+++ b/drivers/mtd/maps/pcmciamtd.c
@@ -750,9 +750,7 @@ static struct pcmcia_device_id pcmciamtd_ids[] = {
750MODULE_DEVICE_TABLE(pcmcia, pcmciamtd_ids); 750MODULE_DEVICE_TABLE(pcmcia, pcmciamtd_ids);
751 751
752static struct pcmcia_driver pcmciamtd_driver = { 752static struct pcmcia_driver pcmciamtd_driver = {
753 .drv = { 753 .name = "pcmciamtd",
754 .name = "pcmciamtd"
755 },
756 .probe = pcmciamtd_probe, 754 .probe = pcmciamtd_probe,
757 .remove = pcmciamtd_detach, 755 .remove = pcmciamtd_detach,
758 .owner = THIS_MODULE, 756 .owner = THIS_MODULE,
diff --git a/drivers/net/pcmcia/3c574_cs.c b/drivers/net/pcmcia/3c574_cs.c
index 8abce76367f8..ba52b0b6d93b 100644
--- a/drivers/net/pcmcia/3c574_cs.c
+++ b/drivers/net/pcmcia/3c574_cs.c
@@ -1196,9 +1196,7 @@ MODULE_DEVICE_TABLE(pcmcia, tc574_ids);
1196 1196
1197static struct pcmcia_driver tc574_driver = { 1197static struct pcmcia_driver tc574_driver = {
1198 .owner = THIS_MODULE, 1198 .owner = THIS_MODULE,
1199 .drv = { 1199 .name = "3c574_cs",
1200 .name = "3c574_cs",
1201 },
1202 .probe = tc574_probe, 1200 .probe = tc574_probe,
1203 .remove = tc574_detach, 1201 .remove = tc574_detach,
1204 .id_table = tc574_ids, 1202 .id_table = tc574_ids,
diff --git a/drivers/net/pcmcia/3c589_cs.c b/drivers/net/pcmcia/3c589_cs.c
index 34195c407fb2..551759c25a74 100644
--- a/drivers/net/pcmcia/3c589_cs.c
+++ b/drivers/net/pcmcia/3c589_cs.c
@@ -953,9 +953,7 @@ MODULE_DEVICE_TABLE(pcmcia, tc589_ids);
953 953
954static struct pcmcia_driver tc589_driver = { 954static struct pcmcia_driver tc589_driver = {
955 .owner = THIS_MODULE, 955 .owner = THIS_MODULE,
956 .drv = { 956 .name = "3c589_cs",
957 .name = "3c589_cs",
958 },
959 .probe = tc589_probe, 957 .probe = tc589_probe,
960 .remove = tc589_detach, 958 .remove = tc589_detach,
961 .id_table = tc589_ids, 959 .id_table = tc589_ids,
diff --git a/drivers/net/pcmcia/axnet_cs.c b/drivers/net/pcmcia/axnet_cs.c
index 9d9d997f2e59..fb5a39ba4801 100644
--- a/drivers/net/pcmcia/axnet_cs.c
+++ b/drivers/net/pcmcia/axnet_cs.c
@@ -761,9 +761,7 @@ MODULE_DEVICE_TABLE(pcmcia, axnet_ids);
761 761
762static struct pcmcia_driver axnet_cs_driver = { 762static struct pcmcia_driver axnet_cs_driver = {
763 .owner = THIS_MODULE, 763 .owner = THIS_MODULE,
764 .drv = { 764 .name = "axnet_cs",
765 .name = "axnet_cs",
766 },
767 .probe = axnet_probe, 765 .probe = axnet_probe,
768 .remove = axnet_detach, 766 .remove = axnet_detach,
769 .id_table = axnet_ids, 767 .id_table = axnet_ids,
diff --git a/drivers/net/pcmcia/com20020_cs.c b/drivers/net/pcmcia/com20020_cs.c
index 039731bddc27..a5d918ea5b13 100644
--- a/drivers/net/pcmcia/com20020_cs.c
+++ b/drivers/net/pcmcia/com20020_cs.c
@@ -364,9 +364,7 @@ MODULE_DEVICE_TABLE(pcmcia, com20020_ids);
364 364
365static struct pcmcia_driver com20020_cs_driver = { 365static struct pcmcia_driver com20020_cs_driver = {
366 .owner = THIS_MODULE, 366 .owner = THIS_MODULE,
367 .drv = { 367 .name = "com20020_cs",
368 .name = "com20020_cs",
369 },
370 .probe = com20020_probe, 368 .probe = com20020_probe,
371 .remove = com20020_detach, 369 .remove = com20020_detach,
372 .id_table = com20020_ids, 370 .id_table = com20020_ids,
diff --git a/drivers/net/pcmcia/fmvj18x_cs.c b/drivers/net/pcmcia/fmvj18x_cs.c
index 792ab38d979c..1c327598bbe8 100644
--- a/drivers/net/pcmcia/fmvj18x_cs.c
+++ b/drivers/net/pcmcia/fmvj18x_cs.c
@@ -697,9 +697,7 @@ MODULE_DEVICE_TABLE(pcmcia, fmvj18x_ids);
697 697
698static struct pcmcia_driver fmvj18x_cs_driver = { 698static struct pcmcia_driver fmvj18x_cs_driver = {
699 .owner = THIS_MODULE, 699 .owner = THIS_MODULE,
700 .drv = { 700 .name = "fmvj18x_cs",
701 .name = "fmvj18x_cs",
702 },
703 .probe = fmvj18x_probe, 701 .probe = fmvj18x_probe,
704 .remove = fmvj18x_detach, 702 .remove = fmvj18x_detach,
705 .id_table = fmvj18x_ids, 703 .id_table = fmvj18x_ids,
diff --git a/drivers/net/pcmcia/ibmtr_cs.c b/drivers/net/pcmcia/ibmtr_cs.c
index b298a3d98dc8..d3c9f016f791 100644
--- a/drivers/net/pcmcia/ibmtr_cs.c
+++ b/drivers/net/pcmcia/ibmtr_cs.c
@@ -394,9 +394,7 @@ MODULE_DEVICE_TABLE(pcmcia, ibmtr_ids);
394 394
395static struct pcmcia_driver ibmtr_cs_driver = { 395static struct pcmcia_driver ibmtr_cs_driver = {
396 .owner = THIS_MODULE, 396 .owner = THIS_MODULE,
397 .drv = { 397 .name = "ibmtr_cs",
398 .name = "ibmtr_cs",
399 },
400 .probe = ibmtr_attach, 398 .probe = ibmtr_attach,
401 .remove = ibmtr_detach, 399 .remove = ibmtr_detach,
402 .id_table = ibmtr_ids, 400 .id_table = ibmtr_ids,
diff --git a/drivers/net/pcmcia/nmclan_cs.c b/drivers/net/pcmcia/nmclan_cs.c
index 51bf76de6499..8e5730c42ce6 100644
--- a/drivers/net/pcmcia/nmclan_cs.c
+++ b/drivers/net/pcmcia/nmclan_cs.c
@@ -1533,9 +1533,7 @@ MODULE_DEVICE_TABLE(pcmcia, nmclan_ids);
1533 1533
1534static struct pcmcia_driver nmclan_cs_driver = { 1534static struct pcmcia_driver nmclan_cs_driver = {
1535 .owner = THIS_MODULE, 1535 .owner = THIS_MODULE,
1536 .drv = { 1536 .name = "nmclan_cs",
1537 .name = "nmclan_cs",
1538 },
1539 .probe = nmclan_probe, 1537 .probe = nmclan_probe,
1540 .remove = nmclan_detach, 1538 .remove = nmclan_detach,
1541 .id_table = nmclan_ids, 1539 .id_table = nmclan_ids,
diff --git a/drivers/net/pcmcia/pcnet_cs.c b/drivers/net/pcmcia/pcnet_cs.c
index ffe2587b9145..22987e6a685e 100644
--- a/drivers/net/pcmcia/pcnet_cs.c
+++ b/drivers/net/pcmcia/pcnet_cs.c
@@ -1748,9 +1748,7 @@ MODULE_FIRMWARE("cis/PE-200.cis");
1748MODULE_FIRMWARE("cis/tamarack.cis"); 1748MODULE_FIRMWARE("cis/tamarack.cis");
1749 1749
1750static struct pcmcia_driver pcnet_driver = { 1750static struct pcmcia_driver pcnet_driver = {
1751 .drv = { 1751 .name = "pcnet_cs",
1752 .name = "pcnet_cs",
1753 },
1754 .probe = pcnet_probe, 1752 .probe = pcnet_probe,
1755 .remove = pcnet_detach, 1753 .remove = pcnet_detach,
1756 .owner = THIS_MODULE, 1754 .owner = THIS_MODULE,
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c
index a8cef28507de..e4c4fb626572 100644
--- a/drivers/net/pcmcia/smc91c92_cs.c
+++ b/drivers/net/pcmcia/smc91c92_cs.c
@@ -2090,9 +2090,7 @@ MODULE_DEVICE_TABLE(pcmcia, smc91c92_ids);
2090 2090
2091static struct pcmcia_driver smc91c92_cs_driver = { 2091static struct pcmcia_driver smc91c92_cs_driver = {
2092 .owner = THIS_MODULE, 2092 .owner = THIS_MODULE,
2093 .drv = { 2093 .name = "smc91c92_cs",
2094 .name = "smc91c92_cs",
2095 },
2096 .probe = smc91c92_probe, 2094 .probe = smc91c92_probe,
2097 .remove = smc91c92_detach, 2095 .remove = smc91c92_detach,
2098 .id_table = smc91c92_ids, 2096 .id_table = smc91c92_ids,
diff --git a/drivers/net/pcmcia/xirc2ps_cs.c b/drivers/net/pcmcia/xirc2ps_cs.c
index cecc07454e9e..18cdc84a84bf 100644
--- a/drivers/net/pcmcia/xirc2ps_cs.c
+++ b/drivers/net/pcmcia/xirc2ps_cs.c
@@ -1832,9 +1832,7 @@ MODULE_DEVICE_TABLE(pcmcia, xirc2ps_ids);
1832 1832
1833static struct pcmcia_driver xirc2ps_cs_driver = { 1833static struct pcmcia_driver xirc2ps_cs_driver = {
1834 .owner = THIS_MODULE, 1834 .owner = THIS_MODULE,
1835 .drv = { 1835 .name = "xirc2ps_cs",
1836 .name = "xirc2ps_cs",
1837 },
1838 .probe = xirc2ps_probe, 1836 .probe = xirc2ps_probe,
1839 .remove = xirc2ps_detach, 1837 .remove = xirc2ps_detach,
1840 .id_table = xirc2ps_ids, 1838 .id_table = xirc2ps_ids,
diff --git a/drivers/net/wireless/airo_cs.c b/drivers/net/wireless/airo_cs.c
index 4067bf1cdeb4..0fc8f639c1d4 100644
--- a/drivers/net/wireless/airo_cs.c
+++ b/drivers/net/wireless/airo_cs.c
@@ -246,9 +246,7 @@ MODULE_DEVICE_TABLE(pcmcia, airo_ids);
246 246
247static struct pcmcia_driver airo_driver = { 247static struct pcmcia_driver airo_driver = {
248 .owner = THIS_MODULE, 248 .owner = THIS_MODULE,
249 .drv = { 249 .name = "airo_cs",
250 .name = "airo_cs",
251 },
252 .probe = airo_probe, 250 .probe = airo_probe,
253 .remove = airo_detach, 251 .remove = airo_detach,
254 .id_table = airo_ids, 252 .id_table = airo_ids,
diff --git a/drivers/net/wireless/atmel_cs.c b/drivers/net/wireless/atmel_cs.c
index 202938022112..13c0c3b02690 100644
--- a/drivers/net/wireless/atmel_cs.c
+++ b/drivers/net/wireless/atmel_cs.c
@@ -309,9 +309,7 @@ MODULE_DEVICE_TABLE(pcmcia, atmel_ids);
309 309
310static struct pcmcia_driver atmel_driver = { 310static struct pcmcia_driver atmel_driver = {
311 .owner = THIS_MODULE, 311 .owner = THIS_MODULE,
312 .drv = { 312 .name = "atmel_cs",
313 .name = "atmel_cs",
314 },
315 .probe = atmel_probe, 313 .probe = atmel_probe,
316 .remove = atmel_detach, 314 .remove = atmel_detach,
317 .id_table = atmel_ids, 315 .id_table = atmel_ids,
diff --git a/drivers/net/wireless/b43/pcmcia.c b/drivers/net/wireless/b43/pcmcia.c
index 61abab1f1c7c..7dcba5fafdc7 100644
--- a/drivers/net/wireless/b43/pcmcia.c
+++ b/drivers/net/wireless/b43/pcmcia.c
@@ -121,9 +121,7 @@ static void __devexit b43_pcmcia_remove(struct pcmcia_device *dev)
121 121
122static struct pcmcia_driver b43_pcmcia_driver = { 122static struct pcmcia_driver b43_pcmcia_driver = {
123 .owner = THIS_MODULE, 123 .owner = THIS_MODULE,
124 .drv = { 124 .name = "b43-pcmcia",
125 .name = "b43-pcmcia",
126 },
127 .id_table = b43_pcmcia_tbl, 125 .id_table = b43_pcmcia_tbl,
128 .probe = b43_pcmcia_probe, 126 .probe = b43_pcmcia_probe,
129 .remove = __devexit_p(b43_pcmcia_remove), 127 .remove = __devexit_p(b43_pcmcia_remove),
diff --git a/drivers/net/wireless/hostap/hostap_cs.c b/drivers/net/wireless/hostap/hostap_cs.c
index d6ff0c7b7d94..ba645701179a 100644
--- a/drivers/net/wireless/hostap/hostap_cs.c
+++ b/drivers/net/wireless/hostap/hostap_cs.c
@@ -707,9 +707,7 @@ MODULE_DEVICE_TABLE(pcmcia, hostap_cs_ids);
707 707
708 708
709static struct pcmcia_driver hostap_driver = { 709static struct pcmcia_driver hostap_driver = {
710 .drv = { 710 .name = "hostap_cs",
711 .name = "hostap_cs",
712 },
713 .probe = hostap_cs_probe, 711 .probe = hostap_cs_probe,
714 .remove = prism2_detach, 712 .remove = prism2_detach,
715 .owner = THIS_MODULE, 713 .owner = THIS_MODULE,
diff --git a/drivers/net/wireless/libertas/if_cs.c b/drivers/net/wireless/libertas/if_cs.c
index 2c6f28ac5197..c2bd2f0304bb 100644
--- a/drivers/net/wireless/libertas/if_cs.c
+++ b/drivers/net/wireless/libertas/if_cs.c
@@ -988,9 +988,7 @@ MODULE_DEVICE_TABLE(pcmcia, if_cs_ids);
988 988
989static struct pcmcia_driver lbs_driver = { 989static struct pcmcia_driver lbs_driver = {
990 .owner = THIS_MODULE, 990 .owner = THIS_MODULE,
991 .drv = { 991 .name = DRV_NAME,
992 .name = DRV_NAME,
993 },
994 .probe = if_cs_probe, 992 .probe = if_cs_probe,
995 .remove = if_cs_detach, 993 .remove = if_cs_detach,
996 .id_table = if_cs_ids, 994 .id_table = if_cs_ids,
diff --git a/drivers/net/wireless/orinoco/orinoco_cs.c b/drivers/net/wireless/orinoco/orinoco_cs.c
index 263dfe9e0e30..28212661f34a 100644
--- a/drivers/net/wireless/orinoco/orinoco_cs.c
+++ b/drivers/net/wireless/orinoco/orinoco_cs.c
@@ -378,9 +378,7 @@ MODULE_DEVICE_TABLE(pcmcia, orinoco_cs_ids);
378 378
379static struct pcmcia_driver orinoco_driver = { 379static struct pcmcia_driver orinoco_driver = {
380 .owner = THIS_MODULE, 380 .owner = THIS_MODULE,
381 .drv = { 381 .name = DRIVER_NAME,
382 .name = DRIVER_NAME,
383 },
384 .probe = orinoco_cs_probe, 382 .probe = orinoco_cs_probe,
385 .remove = orinoco_cs_detach, 383 .remove = orinoco_cs_detach,
386 .id_table = orinoco_cs_ids, 384 .id_table = orinoco_cs_ids,
diff --git a/drivers/net/wireless/orinoco/spectrum_cs.c b/drivers/net/wireless/orinoco/spectrum_cs.c
index 78446507873f..5906e9af9064 100644
--- a/drivers/net/wireless/orinoco/spectrum_cs.c
+++ b/drivers/net/wireless/orinoco/spectrum_cs.c
@@ -361,9 +361,7 @@ MODULE_DEVICE_TABLE(pcmcia, spectrum_cs_ids);
361 361
362static struct pcmcia_driver orinoco_driver = { 362static struct pcmcia_driver orinoco_driver = {
363 .owner = THIS_MODULE, 363 .owner = THIS_MODULE,
364 .drv = { 364 .name = DRIVER_NAME,
365 .name = DRIVER_NAME,
366 },
367 .probe = spectrum_cs_probe, 365 .probe = spectrum_cs_probe,
368 .remove = spectrum_cs_detach, 366 .remove = spectrum_cs_detach,
369 .suspend = spectrum_cs_suspend, 367 .suspend = spectrum_cs_suspend,
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c
index 1457f34efa9a..b5a2c9e31de2 100644
--- a/drivers/net/wireless/ray_cs.c
+++ b/drivers/net/wireless/ray_cs.c
@@ -2843,9 +2843,7 @@ MODULE_DEVICE_TABLE(pcmcia, ray_ids);
2843 2843
2844static struct pcmcia_driver ray_driver = { 2844static struct pcmcia_driver ray_driver = {
2845 .owner = THIS_MODULE, 2845 .owner = THIS_MODULE,
2846 .drv = { 2846 .name = "ray_cs",
2847 .name = "ray_cs",
2848 },
2849 .probe = ray_probe, 2847 .probe = ray_probe,
2850 .remove = ray_detach, 2848 .remove = ray_detach,
2851 .id_table = ray_ids, 2849 .id_table = ray_ids,
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c
index 101b6ffd560e..d3ed38f558fa 100644
--- a/drivers/net/wireless/wl3501_cs.c
+++ b/drivers/net/wireless/wl3501_cs.c
@@ -2054,9 +2054,7 @@ MODULE_DEVICE_TABLE(pcmcia, wl3501_ids);
2054 2054
2055static struct pcmcia_driver wl3501_driver = { 2055static struct pcmcia_driver wl3501_driver = {
2056 .owner = THIS_MODULE, 2056 .owner = THIS_MODULE,
2057 .drv = { 2057 .name = "wl3501_cs",
2058 .name = "wl3501_cs",
2059 },
2060 .probe = wl3501_probe, 2058 .probe = wl3501_probe,
2061 .remove = wl3501_detach, 2059 .remove = wl3501_detach,
2062 .id_table = wl3501_ids, 2060 .id_table = wl3501_ids,
diff --git a/drivers/parport/parport_cs.c b/drivers/parport/parport_cs.c
index 3730184a04a3..6f4c9560b2b9 100644
--- a/drivers/parport/parport_cs.c
+++ b/drivers/parport/parport_cs.c
@@ -221,9 +221,7 @@ MODULE_DEVICE_TABLE(pcmcia, parport_ids);
221 221
222static struct pcmcia_driver parport_cs_driver = { 222static struct pcmcia_driver parport_cs_driver = {
223 .owner = THIS_MODULE, 223 .owner = THIS_MODULE,
224 .drv = { 224 .name = "parport_cs",
225 .name = "parport_cs",
226 },
227 .probe = parport_probe, 225 .probe = parport_probe,
228 .remove = parport_detach, 226 .remove = parport_detach,
229 .id_table = parport_ids, 227 .id_table = parport_ids,
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c
index 912c74082891..100c4412457d 100644
--- a/drivers/pcmcia/ds.c
+++ b/drivers/pcmcia/ds.c
@@ -51,7 +51,7 @@ static void pcmcia_check_driver(struct pcmcia_driver *p_drv)
51 51
52 if (!p_drv->probe || !p_drv->remove) 52 if (!p_drv->probe || !p_drv->remove)
53 printk(KERN_DEBUG "pcmcia: %s lacks a requisite callback " 53 printk(KERN_DEBUG "pcmcia: %s lacks a requisite callback "
54 "function\n", p_drv->drv.name); 54 "function\n", p_drv->name);
55 55
56 while (did && did->match_flags) { 56 while (did && did->match_flags) {
57 for (i = 0; i < 4; i++) { 57 for (i = 0; i < 4; i++) {
@@ -64,7 +64,7 @@ static void pcmcia_check_driver(struct pcmcia_driver *p_drv)
64 64
65 printk(KERN_DEBUG "pcmcia: %s: invalid hash for " 65 printk(KERN_DEBUG "pcmcia: %s: invalid hash for "
66 "product string \"%s\": is 0x%x, should " 66 "product string \"%s\": is 0x%x, should "
67 "be 0x%x\n", p_drv->drv.name, did->prod_id[i], 67 "be 0x%x\n", p_drv->name, did->prod_id[i],
68 did->prod_id_hash[i], hash); 68 did->prod_id_hash[i], hash);
69 printk(KERN_DEBUG "pcmcia: see " 69 printk(KERN_DEBUG "pcmcia: see "
70 "Documentation/pcmcia/devicetable.txt for " 70 "Documentation/pcmcia/devicetable.txt for "
@@ -179,10 +179,11 @@ int pcmcia_register_driver(struct pcmcia_driver *driver)
179 /* initialize common fields */ 179 /* initialize common fields */
180 driver->drv.bus = &pcmcia_bus_type; 180 driver->drv.bus = &pcmcia_bus_type;
181 driver->drv.owner = driver->owner; 181 driver->drv.owner = driver->owner;
182 driver->drv.name = driver->name;
182 mutex_init(&driver->dynids.lock); 183 mutex_init(&driver->dynids.lock);
183 INIT_LIST_HEAD(&driver->dynids.list); 184 INIT_LIST_HEAD(&driver->dynids.list);
184 185
185 pr_debug("registering driver %s\n", driver->drv.name); 186 pr_debug("registering driver %s\n", driver->name);
186 187
187 error = driver_register(&driver->drv); 188 error = driver_register(&driver->drv);
188 if (error < 0) 189 if (error < 0)
@@ -202,7 +203,7 @@ EXPORT_SYMBOL(pcmcia_register_driver);
202 */ 203 */
203void pcmcia_unregister_driver(struct pcmcia_driver *driver) 204void pcmcia_unregister_driver(struct pcmcia_driver *driver)
204{ 205{
205 pr_debug("unregistering driver %s\n", driver->drv.name); 206 pr_debug("unregistering driver %s\n", driver->name);
206 driver_unregister(&driver->drv); 207 driver_unregister(&driver->drv);
207 pcmcia_free_dynids(driver); 208 pcmcia_free_dynids(driver);
208} 209}
@@ -263,7 +264,7 @@ static int pcmcia_device_probe(struct device *dev)
263 p_drv = to_pcmcia_drv(dev->driver); 264 p_drv = to_pcmcia_drv(dev->driver);
264 s = p_dev->socket; 265 s = p_dev->socket;
265 266
266 dev_dbg(dev, "trying to bind to %s\n", p_drv->drv.name); 267 dev_dbg(dev, "trying to bind to %s\n", p_drv->name);
267 268
268 if ((!p_drv->probe) || (!p_dev->function_config) || 269 if ((!p_drv->probe) || (!p_dev->function_config) ||
269 (!try_module_get(p_drv->owner))) { 270 (!try_module_get(p_drv->owner))) {
@@ -289,10 +290,10 @@ static int pcmcia_device_probe(struct device *dev)
289 ret = p_drv->probe(p_dev); 290 ret = p_drv->probe(p_dev);
290 if (ret) { 291 if (ret) {
291 dev_dbg(dev, "binding to %s failed with %d\n", 292 dev_dbg(dev, "binding to %s failed with %d\n",
292 p_drv->drv.name, ret); 293 p_drv->name, ret);
293 goto put_module; 294 goto put_module;
294 } 295 }
295 dev_dbg(dev, "%s bound: Vpp %d.%d, idx %x, IRQ %d", p_drv->drv.name, 296 dev_dbg(dev, "%s bound: Vpp %d.%d, idx %x, IRQ %d", p_drv->name,
296 p_dev->vpp/10, p_dev->vpp%10, p_dev->config_index, p_dev->irq); 297 p_dev->vpp/10, p_dev->vpp%10, p_dev->config_index, p_dev->irq);
297 dev_dbg(dev, "resources: ioport %pR %pR iomem %pR %pR %pR", 298 dev_dbg(dev, "resources: ioport %pR %pR iomem %pR %pR %pR",
298 p_dev->resource[0], p_dev->resource[1], p_dev->resource[2], 299 p_dev->resource[0], p_dev->resource[1], p_dev->resource[2],
@@ -380,13 +381,13 @@ static int pcmcia_device_remove(struct device *dev)
380 if (p_dev->_irq || p_dev->_io || p_dev->_locked) 381 if (p_dev->_irq || p_dev->_io || p_dev->_locked)
381 dev_printk(KERN_INFO, dev, 382 dev_printk(KERN_INFO, dev,
382 "pcmcia: driver %s did not release config properly\n", 383 "pcmcia: driver %s did not release config properly\n",
383 p_drv->drv.name); 384 p_drv->name);
384 385
385 for (i = 0; i < MAX_WIN; i++) 386 for (i = 0; i < MAX_WIN; i++)
386 if (p_dev->_win & CLIENT_WIN_REQ(i)) 387 if (p_dev->_win & CLIENT_WIN_REQ(i))
387 dev_printk(KERN_INFO, dev, 388 dev_printk(KERN_INFO, dev,
388 "pcmcia: driver %s did not release window properly\n", 389 "pcmcia: driver %s did not release window properly\n",
389 p_drv->drv.name); 390 p_drv->name);
390 391
391 /* references from pcmcia_probe_device */ 392 /* references from pcmcia_probe_device */
392 pcmcia_put_dev(p_dev); 393 pcmcia_put_dev(p_dev);
@@ -1142,7 +1143,7 @@ static int pcmcia_dev_suspend(struct device *dev, pm_message_t state)
1142 dev_printk(KERN_ERR, dev, 1143 dev_printk(KERN_ERR, dev,
1143 "pcmcia: device %s (driver %s) did " 1144 "pcmcia: device %s (driver %s) did "
1144 "not want to go to sleep (%d)\n", 1145 "not want to go to sleep (%d)\n",
1145 p_dev->devname, p_drv->drv.name, ret); 1146 p_dev->devname, p_drv->name, ret);
1146 mutex_lock(&p_dev->socket->ops_mutex); 1147 mutex_lock(&p_dev->socket->ops_mutex);
1147 p_dev->suspended = 0; 1148 p_dev->suspended = 0;
1148 mutex_unlock(&p_dev->socket->ops_mutex); 1149 mutex_unlock(&p_dev->socket->ops_mutex);
diff --git a/drivers/scsi/pcmcia/aha152x_stub.c b/drivers/scsi/pcmcia/aha152x_stub.c
index bd9ce09b7ff8..49cbea33c141 100644
--- a/drivers/scsi/pcmcia/aha152x_stub.c
+++ b/drivers/scsi/pcmcia/aha152x_stub.c
@@ -216,9 +216,7 @@ MODULE_DEVICE_TABLE(pcmcia, aha152x_ids);
216 216
217static struct pcmcia_driver aha152x_cs_driver = { 217static struct pcmcia_driver aha152x_cs_driver = {
218 .owner = THIS_MODULE, 218 .owner = THIS_MODULE,
219 .drv = { 219 .name = "aha152x_cs",
220 .name = "aha152x_cs",
221 },
222 .probe = aha152x_probe, 220 .probe = aha152x_probe,
223 .remove = aha152x_detach, 221 .remove = aha152x_detach,
224 .id_table = aha152x_ids, 222 .id_table = aha152x_ids,
diff --git a/drivers/scsi/pcmcia/fdomain_stub.c b/drivers/scsi/pcmcia/fdomain_stub.c
index f2dc627e9da2..cd69c2670f81 100644
--- a/drivers/scsi/pcmcia/fdomain_stub.c
+++ b/drivers/scsi/pcmcia/fdomain_stub.c
@@ -188,9 +188,7 @@ MODULE_DEVICE_TABLE(pcmcia, fdomain_ids);
188 188
189static struct pcmcia_driver fdomain_cs_driver = { 189static struct pcmcia_driver fdomain_cs_driver = {
190 .owner = THIS_MODULE, 190 .owner = THIS_MODULE,
191 .drv = { 191 .name = "fdomain_cs",
192 .name = "fdomain_cs",
193 },
194 .probe = fdomain_probe, 192 .probe = fdomain_probe,
195 .remove = fdomain_detach, 193 .remove = fdomain_detach,
196 .id_table = fdomain_ids, 194 .id_table = fdomain_ids,
diff --git a/drivers/scsi/pcmcia/nsp_cs.c b/drivers/scsi/pcmcia/nsp_cs.c
index 2b4a1a82d529..0f604d613656 100644
--- a/drivers/scsi/pcmcia/nsp_cs.c
+++ b/drivers/scsi/pcmcia/nsp_cs.c
@@ -1790,9 +1790,7 @@ MODULE_DEVICE_TABLE(pcmcia, nsp_cs_ids);
1790 1790
1791static struct pcmcia_driver nsp_driver = { 1791static struct pcmcia_driver nsp_driver = {
1792 .owner = THIS_MODULE, 1792 .owner = THIS_MODULE,
1793 .drv = { 1793 .name = "nsp_cs",
1794 .name = "nsp_cs",
1795 },
1796 .probe = nsp_cs_probe, 1794 .probe = nsp_cs_probe,
1797 .remove = nsp_cs_detach, 1795 .remove = nsp_cs_detach,
1798 .id_table = nsp_cs_ids, 1796 .id_table = nsp_cs_ids,
diff --git a/drivers/scsi/pcmcia/qlogic_stub.c b/drivers/scsi/pcmcia/qlogic_stub.c
index e8a06e3a384c..9c96ca889ec9 100644
--- a/drivers/scsi/pcmcia/qlogic_stub.c
+++ b/drivers/scsi/pcmcia/qlogic_stub.c
@@ -294,9 +294,7 @@ MODULE_DEVICE_TABLE(pcmcia, qlogic_ids);
294 294
295static struct pcmcia_driver qlogic_cs_driver = { 295static struct pcmcia_driver qlogic_cs_driver = {
296 .owner = THIS_MODULE, 296 .owner = THIS_MODULE,
297 .drv = {
298 .name = "qlogic_cs", 297 .name = "qlogic_cs",
299 },
300 .probe = qlogic_probe, 298 .probe = qlogic_probe,
301 .remove = qlogic_detach, 299 .remove = qlogic_detach,
302 .id_table = qlogic_ids, 300 .id_table = qlogic_ids,
diff --git a/drivers/scsi/pcmcia/sym53c500_cs.c b/drivers/scsi/pcmcia/sym53c500_cs.c
index 6ceb57c355fa..0ae27cb5cd6f 100644
--- a/drivers/scsi/pcmcia/sym53c500_cs.c
+++ b/drivers/scsi/pcmcia/sym53c500_cs.c
@@ -873,9 +873,7 @@ MODULE_DEVICE_TABLE(pcmcia, sym53c500_ids);
873 873
874static struct pcmcia_driver sym53c500_cs_driver = { 874static struct pcmcia_driver sym53c500_cs_driver = {
875 .owner = THIS_MODULE, 875 .owner = THIS_MODULE,
876 .drv = { 876 .name = "sym53c500_cs",
877 .name = "sym53c500_cs",
878 },
879 .probe = SYM53C500_probe, 877 .probe = SYM53C500_probe,
880 .remove = SYM53C500_detach, 878 .remove = SYM53C500_detach,
881 .id_table = sym53c500_ids, 879 .id_table = sym53c500_ids,
diff --git a/drivers/serial/serial_cs.c b/drivers/serial/serial_cs.c
index 422520342936..5047224d2625 100644
--- a/drivers/serial/serial_cs.c
+++ b/drivers/serial/serial_cs.c
@@ -882,9 +882,7 @@ MODULE_FIRMWARE("cis/RS-COM-2P.cis");
882 882
883static struct pcmcia_driver serial_cs_driver = { 883static struct pcmcia_driver serial_cs_driver = {
884 .owner = THIS_MODULE, 884 .owner = THIS_MODULE,
885 .drv = { 885 .name = "serial_cs",
886 .name = "serial_cs",
887 },
888 .probe = serial_probe, 886 .probe = serial_probe,
889 .remove = serial_detach, 887 .remove = serial_detach,
890 .id_table = serial_ids, 888 .id_table = serial_ids,
diff --git a/drivers/staging/comedi/drivers/cb_das16_cs.c b/drivers/staging/comedi/drivers/cb_das16_cs.c
index 0c4b27c13eb7..a885cd7cfd7f 100644
--- a/drivers/staging/comedi/drivers/cb_das16_cs.c
+++ b/drivers/staging/comedi/drivers/cb_das16_cs.c
@@ -795,9 +795,7 @@ struct pcmcia_driver das16cs_driver = {
795 .resume = das16cs_pcmcia_resume, 795 .resume = das16cs_pcmcia_resume,
796 .id_table = das16cs_id_table, 796 .id_table = das16cs_id_table,
797 .owner = THIS_MODULE, 797 .owner = THIS_MODULE,
798 .drv = { 798 .name = "cb_das16_cs",
799 .name = "cb_das16_cs",
800 },
801}; 799};
802 800
803static int __init init_das16cs_pcmcia_cs(void) 801static int __init init_das16cs_pcmcia_cs(void)
diff --git a/drivers/staging/comedi/drivers/das08_cs.c b/drivers/staging/comedi/drivers/das08_cs.c
index 6d893253de45..def167eac1d8 100644
--- a/drivers/staging/comedi/drivers/das08_cs.c
+++ b/drivers/staging/comedi/drivers/das08_cs.c
@@ -305,9 +305,7 @@ struct pcmcia_driver das08_cs_driver = {
305 .resume = das08_pcmcia_resume, 305 .resume = das08_pcmcia_resume,
306 .id_table = das08_cs_id_table, 306 .id_table = das08_cs_id_table,
307 .owner = THIS_MODULE, 307 .owner = THIS_MODULE,
308 .drv = { 308 .name = "pcm-das08",
309 .name = "pcm-das08",
310 },
311}; 309};
312 310
313static int __init init_das08_pcmcia_cs(void) 311static int __init init_das08_pcmcia_cs(void)
diff --git a/drivers/staging/comedi/drivers/ni_daq_700.c b/drivers/staging/comedi/drivers/ni_daq_700.c
index 52441255e2bd..9cc8401765bd 100644
--- a/drivers/staging/comedi/drivers/ni_daq_700.c
+++ b/drivers/staging/comedi/drivers/ni_daq_700.c
@@ -634,9 +634,7 @@ struct pcmcia_driver dio700_cs_driver = {
634 .resume = dio700_cs_resume, 634 .resume = dio700_cs_resume,
635 .id_table = dio700_cs_ids, 635 .id_table = dio700_cs_ids,
636 .owner = THIS_MODULE, 636 .owner = THIS_MODULE,
637 .drv = { 637 .name = "ni_daq_700",
638 .name = "ni_daq_700",
639 },
640}; 638};
641 639
642static int __init init_dio700_cs(void) 640static int __init init_dio700_cs(void)
diff --git a/drivers/staging/comedi/drivers/ni_daq_dio24.c b/drivers/staging/comedi/drivers/ni_daq_dio24.c
index 54dda4a45039..b3f7c66e25c2 100644
--- a/drivers/staging/comedi/drivers/ni_daq_dio24.c
+++ b/drivers/staging/comedi/drivers/ni_daq_dio24.c
@@ -384,9 +384,7 @@ struct pcmcia_driver dio24_cs_driver = {
384 .resume = dio24_cs_resume, 384 .resume = dio24_cs_resume,
385 .id_table = dio24_cs_ids, 385 .id_table = dio24_cs_ids,
386 .owner = THIS_MODULE, 386 .owner = THIS_MODULE,
387 .drv = { 387 .name = "ni_daq_dio24",
388 .name = "ni_daq_dio24",
389 },
390}; 388};
391 389
392static int __init init_dio24_cs(void) 390static int __init init_dio24_cs(void)
diff --git a/drivers/staging/comedi/drivers/ni_labpc_cs.c b/drivers/staging/comedi/drivers/ni_labpc_cs.c
index 22119f2a292e..6b7c5d043b0a 100644
--- a/drivers/staging/comedi/drivers/ni_labpc_cs.c
+++ b/drivers/staging/comedi/drivers/ni_labpc_cs.c
@@ -360,9 +360,7 @@ struct pcmcia_driver labpc_cs_driver = {
360 .resume = labpc_cs_resume, 360 .resume = labpc_cs_resume,
361 .id_table = labpc_cs_ids, 361 .id_table = labpc_cs_ids,
362 .owner = THIS_MODULE, 362 .owner = THIS_MODULE,
363 .drv = { 363 .name = "daqcard-1200",
364 .name = "daqcard-1200",
365 },
366}; 364};
367 365
368static int __init init_labpc_cs(void) 366static int __init init_labpc_cs(void)
diff --git a/drivers/staging/comedi/drivers/ni_mio_cs.c b/drivers/staging/comedi/drivers/ni_mio_cs.c
index f1e31d3e12bc..49563273f605 100644
--- a/drivers/staging/comedi/drivers/ni_mio_cs.c
+++ b/drivers/staging/comedi/drivers/ni_mio_cs.c
@@ -437,9 +437,7 @@ struct pcmcia_driver ni_mio_cs_driver = {
437 .resume = &mio_cs_resume, 437 .resume = &mio_cs_resume,
438 .id_table = ni_mio_cs_ids, 438 .id_table = ni_mio_cs_ids,
439 .owner = THIS_MODULE, 439 .owner = THIS_MODULE,
440 .drv = { 440 .name = "ni_mio_cs",
441 .name = "ni_mio_cs",
442 },
443}; 441};
444 442
445int init_module(void) 443int init_module(void)
diff --git a/drivers/staging/comedi/drivers/quatech_daqp_cs.c b/drivers/staging/comedi/drivers/quatech_daqp_cs.c
index de37ff70a9e7..32fecf57868d 100644
--- a/drivers/staging/comedi/drivers/quatech_daqp_cs.c
+++ b/drivers/staging/comedi/drivers/quatech_daqp_cs.c
@@ -1168,9 +1168,7 @@ static struct pcmcia_driver daqp_cs_driver = {
1168 .resume = daqp_cs_resume, 1168 .resume = daqp_cs_resume,
1169 .id_table = daqp_cs_id_table, 1169 .id_table = daqp_cs_id_table,
1170 .owner = THIS_MODULE, 1170 .owner = THIS_MODULE,
1171 .drv = { 1171 .name = "quatech_daqp_cs",
1172 .name = "quatech_daqp_cs",
1173 },
1174}; 1172};
1175 1173
1176int __init init_module(void) 1174int __init init_module(void)
diff --git a/drivers/staging/wlags49_h2/wl_cs.c b/drivers/staging/wlags49_h2/wl_cs.c
index 62a70afa3e29..aa3cc516fe18 100644
--- a/drivers/staging/wlags49_h2/wl_cs.c
+++ b/drivers/staging/wlags49_h2/wl_cs.c
@@ -455,9 +455,7 @@ MODULE_DEVICE_TABLE(pcmcia, wl_adapter_ids);
455 455
456static struct pcmcia_driver wlags49_driver = { 456static struct pcmcia_driver wlags49_driver = {
457 .owner = THIS_MODULE, 457 .owner = THIS_MODULE,
458 .drv = { 458 .name = DRIVER_NAME,
459 .name = DRIVER_NAME,
460 },
461 .probe = wl_adapter_attach, 459 .probe = wl_adapter_attach,
462 .remove = wl_adapter_detach, 460 .remove = wl_adapter_detach,
463 .id_table = wl_adapter_ids, 461 .id_table = wl_adapter_ids,
diff --git a/drivers/telephony/ixj_pcmcia.c b/drivers/telephony/ixj_pcmcia.c
index 76edd39525de..d005b9eeebbc 100644
--- a/drivers/telephony/ixj_pcmcia.c
+++ b/drivers/telephony/ixj_pcmcia.c
@@ -165,9 +165,7 @@ MODULE_DEVICE_TABLE(pcmcia, ixj_ids);
165 165
166static struct pcmcia_driver ixj_driver = { 166static struct pcmcia_driver ixj_driver = {
167 .owner = THIS_MODULE, 167 .owner = THIS_MODULE,
168 .drv = { 168 .name = "ixj_cs",
169 .name = "ixj_cs",
170 },
171 .probe = ixj_probe, 169 .probe = ixj_probe,
172 .remove = ixj_detach, 170 .remove = ixj_detach,
173 .id_table = ixj_ids, 171 .id_table = ixj_ids,
diff --git a/drivers/usb/host/sl811_cs.c b/drivers/usb/host/sl811_cs.c
index 9ce95cdfc9ef..3775c035a6c5 100644
--- a/drivers/usb/host/sl811_cs.c
+++ b/drivers/usb/host/sl811_cs.c
@@ -195,9 +195,7 @@ MODULE_DEVICE_TABLE(pcmcia, sl811_ids);
195 195
196static struct pcmcia_driver sl811_cs_driver = { 196static struct pcmcia_driver sl811_cs_driver = {
197 .owner = THIS_MODULE, 197 .owner = THIS_MODULE,
198 .drv = { 198 .name = "sl811_cs",
199 .name = "sl811_cs",
200 },
201 .probe = sl811_cs_probe, 199 .probe = sl811_cs_probe,
202 .remove = sl811_cs_detach, 200 .remove = sl811_cs_detach,
203 .id_table = sl811_ids, 201 .id_table = sl811_ids,