aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r--drivers/pcmcia/pd6729.c13
-rw-r--r--drivers/pcmcia/yenta_socket.c16
2 files changed, 2 insertions, 27 deletions
diff --git a/drivers/pcmcia/pd6729.c b/drivers/pcmcia/pd6729.c
index a4c16ee5c718..622dd6fe7347 100644
--- a/drivers/pcmcia/pd6729.c
+++ b/drivers/pcmcia/pd6729.c
@@ -777,15 +777,4 @@ static struct pci_driver pd6729_pci_driver = {
777 .remove = pd6729_pci_remove, 777 .remove = pd6729_pci_remove,
778}; 778};
779 779
780static int pd6729_module_init(void) 780module_pci_driver(pd6729_pci_driver);
781{
782 return pci_register_driver(&pd6729_pci_driver);
783}
784
785static void pd6729_module_exit(void)
786{
787 pci_unregister_driver(&pd6729_pci_driver);
788}
789
790module_init(pd6729_module_init);
791module_exit(pd6729_module_exit);
diff --git a/drivers/pcmcia/yenta_socket.c b/drivers/pcmcia/yenta_socket.c
index 6b4ff099fb13..dc18a3a5e010 100644
--- a/drivers/pcmcia/yenta_socket.c
+++ b/drivers/pcmcia/yenta_socket.c
@@ -1439,20 +1439,6 @@ static struct pci_driver yenta_cardbus_driver = {
1439 .driver.pm = YENTA_PM_OPS, 1439 .driver.pm = YENTA_PM_OPS,
1440}; 1440};
1441 1441
1442 1442module_pci_driver(yenta_cardbus_driver);
1443static int __init yenta_socket_init(void)
1444{
1445 return pci_register_driver(&yenta_cardbus_driver);
1446}
1447
1448
1449static void __exit yenta_socket_exit(void)
1450{
1451 pci_unregister_driver(&yenta_cardbus_driver);
1452}
1453
1454
1455module_init(yenta_socket_init);
1456module_exit(yenta_socket_exit);
1457 1443
1458MODULE_LICENSE("GPL"); 1444MODULE_LICENSE("GPL");