Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
d8d78949
Commit
d8d78949
authored
Mar 09, 2012
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ptp_pch: rename pch_pcidev to pci_driver to fix section mismatch warnings.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
4d29515f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/ptp/ptp_pch.c
drivers/ptp/ptp_pch.c
+3
-3
No files found.
drivers/ptp/ptp_pch.c
View file @
d8d78949
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment