diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/can/pch_can.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/can/pch_can.c b/drivers/net/can/pch_can.c index c63209f4e73c..672718261c68 100644 --- a/drivers/net/can/pch_can.c +++ b/drivers/net/can/pch_can.c | |||
@@ -1437,7 +1437,7 @@ probe_exit_endev: | |||
1437 | return rc; | 1437 | return rc; |
1438 | } | 1438 | } |
1439 | 1439 | ||
1440 | static struct pci_driver pch_can_pcidev = { | 1440 | static struct pci_driver pch_can_pci_driver = { |
1441 | .name = "pch_can", | 1441 | .name = "pch_can", |
1442 | .id_table = pch_pci_tbl, | 1442 | .id_table = pch_pci_tbl, |
1443 | .probe = pch_can_probe, | 1443 | .probe = pch_can_probe, |
@@ -1448,13 +1448,13 @@ static struct pci_driver pch_can_pcidev = { | |||
1448 | 1448 | ||
1449 | static int __init pch_can_pci_init(void) | 1449 | static int __init pch_can_pci_init(void) |
1450 | { | 1450 | { |
1451 | return pci_register_driver(&pch_can_pcidev); | 1451 | return pci_register_driver(&pch_can_pci_driver); |
1452 | } | 1452 | } |
1453 | module_init(pch_can_pci_init); | 1453 | module_init(pch_can_pci_init); |
1454 | 1454 | ||
1455 | static void __exit pch_can_pci_exit(void) | 1455 | static void __exit pch_can_pci_exit(void) |
1456 | { | 1456 | { |
1457 | pci_unregister_driver(&pch_can_pcidev); | 1457 | pci_unregister_driver(&pch_can_pci_driver); |
1458 | } | 1458 | } |
1459 | module_exit(pch_can_pci_exit); | 1459 | module_exit(pch_can_pci_exit); |
1460 | 1460 | ||