diff options
author | Michal Simek <michal.simek@xilinx.com> | 2013-05-30 00:28:05 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-30 17:08:43 -0700 |
commit | 3fb99fa7c7d2310791bf39929285da44b201fd40 (patch) | |
tree | d96e41d657a5d8eb3bdbdcd395bc75aa482f76fd /drivers/net/ethernet/xilinx | |
parent | e0a3bc65448c01289a74329ddf6c84d8c0594e59 (diff) | |
download | blackbird-op-linux-3fb99fa7c7d2310791bf39929285da44b201fd40.tar.gz blackbird-op-linux-3fb99fa7c7d2310791bf39929285da44b201fd40.zip |
net: emaclite: Let's make xemaclite_adjust_link static
xemaclite_adjust_link is used locally.
It removes sparse warning:
drivers/net/ethernet/xilinx/xilinx_emaclite.c:916:6: warning:
symbol 'xemaclite_adjust_link' was not declared. Should it be static?
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/xilinx')
-rw-r--r-- | drivers/net/ethernet/xilinx/xilinx_emaclite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c b/drivers/net/ethernet/xilinx/xilinx_emaclite.c index fcd1e0b46103..93bb14e04d84 100644 --- a/drivers/net/ethernet/xilinx/xilinx_emaclite.c +++ b/drivers/net/ethernet/xilinx/xilinx_emaclite.c @@ -913,7 +913,7 @@ err_register: * There's nothing in the Emaclite device to be configured when the link * state changes. We just print the status. */ -void xemaclite_adjust_link(struct net_device *ndev) +static void xemaclite_adjust_link(struct net_device *ndev) { struct net_local *lp = netdev_priv(ndev); struct phy_device *phy = lp->phy_dev; |