aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can/sja1000/peak_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/can/sja1000/peak_pci.c')
-rw-r--r--drivers/net/can/sja1000/peak_pci.c12
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
752static int __init peak_pci_init(void) 752module_pci_driver(peak_pci_driver);
753{
754 return pci_register_driver(&peak_pci_driver);
755}
756module_init(peak_pci_init);
757
758static void __exit peak_pci_exit(void)
759{
760 pci_unregister_driver(&peak_pci_driver);
761}
762module_exit(peak_pci_exit);