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
ffccc2f4
Commit
ffccc2f4
authored
Apr 13, 2004
by
François Romieu
Committed by
Jeff Garzik
Apr 13, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] r8169: Missing 'static' qualifier for functions.
parent
542ab896
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
drivers/net/r8169.c
drivers/net/r8169.c
+3
-6
No files found.
drivers/net/r8169.c
View file @
ffccc2f4
...
...
@@ -354,8 +354,7 @@ static const unsigned int rtl8169_rx_config =
#define PHY_Cap_100_Half_Or_Less PHY_Cap_100_Half | PHY_Cap_10_Full_Or_Less
#define PHY_Cap_100_Full_Or_Less PHY_Cap_100_Full | PHY_Cap_100_Half_Or_Less
void
mdio_write
(
void
*
ioaddr
,
int
RegAddr
,
int
value
)
static
void
mdio_write
(
void
*
ioaddr
,
int
RegAddr
,
int
value
)
{
int
i
;
...
...
@@ -372,8 +371,7 @@ mdio_write(void *ioaddr, int RegAddr, int value)
}
}
int
mdio_read
(
void
*
ioaddr
,
int
RegAddr
)
static
int
mdio_read
(
void
*
ioaddr
,
int
RegAddr
)
{
int
i
,
value
=
-
1
;
...
...
@@ -1674,8 +1672,7 @@ rtl8169_set_rx_mode(struct net_device *dev)
*
* Get TX/RX statistics for rtl8169
*/
struct
net_device_stats
*
rtl8169_get_stats
(
struct
net_device
*
dev
)
static
struct
net_device_stats
*
rtl8169_get_stats
(
struct
net_device
*
dev
)
{
struct
rtl8169_private
*
tp
=
dev
->
priv
;
void
*
ioaddr
=
tp
->
mmio_addr
;
...
...
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