diff options
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r-- | drivers/pcmcia/pd6729.c | 13 | ||||
-rw-r--r-- | drivers/pcmcia/yenta_socket.c | 16 |
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 | ||
780 | static int pd6729_module_init(void) | 780 | module_pci_driver(pd6729_pci_driver); |
781 | { | ||
782 | return pci_register_driver(&pd6729_pci_driver); | ||
783 | } | ||
784 | |||
785 | static void pd6729_module_exit(void) | ||
786 | { | ||
787 | pci_unregister_driver(&pd6729_pci_driver); | ||
788 | } | ||
789 | |||
790 | module_init(pd6729_module_init); | ||
791 | module_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 | 1442 | module_pci_driver(yenta_cardbus_driver); | |
1443 | static int __init yenta_socket_init(void) | ||
1444 | { | ||
1445 | return pci_register_driver(¥ta_cardbus_driver); | ||
1446 | } | ||
1447 | |||
1448 | |||
1449 | static void __exit yenta_socket_exit(void) | ||
1450 | { | ||
1451 | pci_unregister_driver(¥ta_cardbus_driver); | ||
1452 | } | ||
1453 | |||
1454 | |||
1455 | module_init(yenta_socket_init); | ||
1456 | module_exit(yenta_socket_exit); | ||
1457 | 1443 | ||
1458 | MODULE_LICENSE("GPL"); | 1444 | MODULE_LICENSE("GPL"); |