Commit 3fb99fa7 authored by Michal Simek's avatar Michal Simek Committed by David S. Miller

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: default avatarMichal Simek <michal.simek@xilinx.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e0a3bc65
...@@ -913,7 +913,7 @@ static int xemaclite_mdio_setup(struct net_local *lp, struct device *dev) ...@@ -913,7 +913,7 @@ static int xemaclite_mdio_setup(struct net_local *lp, struct device *dev)
* There's nothing in the Emaclite device to be configured when the link * There's nothing in the Emaclite device to be configured when the link
* state changes. We just print the status. * 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 net_local *lp = netdev_priv(ndev);
struct phy_device *phy = lp->phy_dev; struct phy_device *phy = lp->phy_dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment