Commit d8d78949 authored by David S. Miller's avatar David S. Miller

ptp_pch: rename pch_pcidev to pci_driver to fix section mismatch warnings.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4d29515f
...@@ -694,7 +694,7 @@ static DEFINE_PCI_DEVICE_TABLE(pch_ieee1588_pcidev_id) = { ...@@ -694,7 +694,7 @@ static DEFINE_PCI_DEVICE_TABLE(pch_ieee1588_pcidev_id) = {
{0} {0}
}; };
static struct pci_driver pch_pcidev = { static struct pci_driver pch_driver = {
.name = KBUILD_MODNAME, .name = KBUILD_MODNAME,
.id_table = pch_ieee1588_pcidev_id, .id_table = pch_ieee1588_pcidev_id,
.probe = pch_probe, .probe = pch_probe,
...@@ -705,7 +705,7 @@ static struct pci_driver pch_pcidev = { ...@@ -705,7 +705,7 @@ static struct pci_driver pch_pcidev = {
static void __exit ptp_pch_exit(void) static void __exit ptp_pch_exit(void)
{ {
pci_unregister_driver(&pch_pcidev); pci_unregister_driver(&pch_driver);
} }
static s32 __init ptp_pch_init(void) static s32 __init ptp_pch_init(void)
...@@ -713,7 +713,7 @@ static s32 __init ptp_pch_init(void) ...@@ -713,7 +713,7 @@ static s32 __init ptp_pch_init(void)
s32 ret; s32 ret;
/* register the driver with the pci core */ /* register the driver with the pci core */
ret = pci_register_driver(&pch_pcidev); ret = pci_register_driver(&pch_driver);
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment