projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d29515
)
ptp_pch: rename pch_pcidev to pci_driver to fix section mismatch warnings.
author
David S. Miller
<
[email protected]
>
Fri, 9 Mar 2012 22:47:24 +0000
(14:47 -0800)
committer
David S. Miller
<
[email protected]
>
Fri, 9 Mar 2012 22:47:24 +0000
(14:47 -0800)
Signed-off-by: David S. Miller <
[email protected]
>
drivers/ptp/ptp_pch.c
patch
|
blob
|
history
diff --git
a/drivers/ptp/ptp_pch.c
b/drivers/ptp/ptp_pch.c
index 0b38ee1b0f85bd81bdef67eefc7d942c109a5fb3..375eb04c16ea4833d0858c0497b784ea475cbf37 100644
(file)
--- 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) = {
{0}
};
-static struct pci_driver pch_
pcidev
= {
+static struct pci_driver pch_
driver
= {
.name = KBUILD_MODNAME,
.id_table = pch_ieee1588_pcidev_id,
.probe = pch_probe,
@@
-705,7
+705,7
@@
static struct pci_driver pch_pcidev = {
static void __exit ptp_pch_exit(void)
{
- pci_unregister_driver(&pch_
pcidev
);
+ pci_unregister_driver(&pch_
driver
);
}
static s32 __init ptp_pch_init(void)
@@
-713,7
+713,7
@@
static s32 __init ptp_pch_init(void)
s32 ret;
/* register the driver with the pci core */
- ret = pci_register_driver(&pch_
pcidev
);
+ ret = pci_register_driver(&pch_
driver
);
return ret;
}