diff options
Diffstat (limited to 'drivers/net/can/sja1000/peak_pci.c')
| -rw-r--r-- | drivers/net/can/sja1000/peak_pci.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/net/can/sja1000/peak_pci.c b/drivers/net/can/sja1000/peak_pci.c index 5f92b865f64b..f0a12962f7b6 100644 --- a/drivers/net/can/sja1000/peak_pci.c +++ b/drivers/net/can/sja1000/peak_pci.c | |||
| @@ -749,14 +749,4 @@ static struct pci_driver peak_pci_driver = { | |||
| 749 | .remove = __devexit_p(peak_pci_remove), | 749 | .remove = __devexit_p(peak_pci_remove), |
| 750 | }; | 750 | }; |
| 751 | 751 | ||
| 752 | static int __init peak_pci_init(void) | 752 | module_pci_driver(peak_pci_driver); |
| 753 | { | ||
| 754 | return pci_register_driver(&peak_pci_driver); | ||
| 755 | } | ||
| 756 | module_init(peak_pci_init); | ||
| 757 | |||
| 758 | static void __exit peak_pci_exit(void) | ||
| 759 | { | ||
| 760 | pci_unregister_driver(&peak_pci_driver); | ||
| 761 | } | ||
| 762 | module_exit(peak_pci_exit); | ||
