diff options
author | David S. Miller <davem@davemloft.net> | 2012-03-09 17:47:24 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-09 17:47:24 -0500 |
commit | d8d789497aa016f802b95606c6473e92361ec0b5 (patch) | |
tree | ef6100c2f6ca2605804e7e7d13294f5f648081e7 /drivers/ptp | |
parent | 4d29515f5a2e062c3fe82bfb574da70ed544ffad (diff) |
ptp_pch: rename pch_pcidev to pci_driver to fix section mismatch warnings.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ptp')
-rw-r--r-- | drivers/ptp/ptp_pch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ptp/ptp_pch.c b/drivers/ptp/ptp_pch.c index 0b38ee1b0f85..375eb04c16ea 100644 --- a/drivers/ptp/ptp_pch.c +++ b/drivers/ptp/ptp_pch.c | |||
@@ -694,7 +694,7 @@ static DEFINE_PCI_DEVICE_TABLE(pch_ieee1588_pcidev_id) = { | |||
694 | {0} | 694 | {0} |
695 | }; | 695 | }; |
696 | 696 | ||
697 | static struct pci_driver pch_pcidev = { | 697 | static struct pci_driver pch_driver = { |
698 | .name = KBUILD_MODNAME, | 698 | .name = KBUILD_MODNAME, |
699 | .id_table = pch_ieee1588_pcidev_id, | 699 | .id_table = pch_ieee1588_pcidev_id, |
700 | .probe = pch_probe, | 700 | .probe = pch_probe, |
@@ -705,7 +705,7 @@ static struct pci_driver pch_pcidev = { | |||
705 | 705 | ||
706 | static void __exit ptp_pch_exit(void) | 706 | static void __exit ptp_pch_exit(void) |
707 | { | 707 | { |
708 | pci_unregister_driver(&pch_pcidev); | 708 | pci_unregister_driver(&pch_driver); |
709 | } | 709 | } |
710 | 710 | ||
711 | static s32 __init ptp_pch_init(void) | 711 | static s32 __init ptp_pch_init(void) |
@@ -713,7 +713,7 @@ static s32 __init ptp_pch_init(void) | |||
713 | s32 ret; | 713 | s32 ret; |
714 | 714 | ||
715 | /* register the driver with the pci core */ | 715 | /* register the driver with the pci core */ |
716 | ret = pci_register_driver(&pch_pcidev); | 716 | ret = pci_register_driver(&pch_driver); |
717 | 717 | ||
718 | return ret; | 718 | return ret; |
719 | } | 719 | } |