diff options
Diffstat (limited to 'drivers/net/can/sja1000/plx_pci.c')
| -rw-r--r-- | drivers/net/can/sja1000/plx_pci.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/net/can/sja1000/plx_pci.c b/drivers/net/can/sja1000/plx_pci.c index a227586ddd52..8bc95982840f 100644 --- a/drivers/net/can/sja1000/plx_pci.c +++ b/drivers/net/can/sja1000/plx_pci.c | |||
| @@ -609,15 +609,4 @@ static struct pci_driver plx_pci_driver = { | |||
| 609 | .remove = plx_pci_del_card, | 609 | .remove = plx_pci_del_card, |
| 610 | }; | 610 | }; |
| 611 | 611 | ||
| 612 | static int __init plx_pci_init(void) | 612 | module_pci_driver(plx_pci_driver); |
| 613 | { | ||
| 614 | return pci_register_driver(&plx_pci_driver); | ||
| 615 | } | ||
| 616 | |||
| 617 | static void __exit plx_pci_exit(void) | ||
| 618 | { | ||
| 619 | pci_unregister_driver(&plx_pci_driver); | ||
| 620 | } | ||
| 621 | |||
| 622 | module_init(plx_pci_init); | ||
| 623 | module_exit(plx_pci_exit); | ||
