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:
4b5026a
)
net: mvneta: make mvneta_eth_tool_ops static
author
Jisheng Zhang
<
[email protected]
>
Thu, 16 Feb 2017 09:07:39 +0000
(17:07 +0800)
committer
David S. Miller
<
[email protected]
>
Fri, 17 Feb 2017 17:16:29 +0000
(12:16 -0500)
The mvneta_eth_tool_ops is only used internally in mvneta driver, so
make it static.
Signed-off-by: Jisheng Zhang <
[email protected]
>
Acked-by: Thomas Petazzoni <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/marvell/mvneta.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/marvell/mvneta.c
b/drivers/net/ethernet/marvell/mvneta.c
index fdf71720e707da26d1e88c0f746b117c1f053290..61dd4462411c03511d6121d75ca65dc36c7f688f 100644
(file)
--- a/
drivers/net/ethernet/marvell/mvneta.c
+++ b/
drivers/net/ethernet/marvell/mvneta.c
@@
-3959,7
+3959,7
@@
static const struct net_device_ops mvneta_netdev_ops = {
.ndo_do_ioctl = mvneta_ioctl,
};
-const struct ethtool_ops mvneta_eth_tool_ops = {
+
static
const struct ethtool_ops mvneta_eth_tool_ops = {
.nway_reset = phy_ethtool_nway_reset,
.get_link = ethtool_op_get_link,
.set_coalesce = mvneta_ethtool_set_coalesce,