Skip to content

Commit

Permalink
net: emaclite: Let's make xemaclite_adjust_link static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michal Simek authored and David S. Miller committed May 31, 2013
1 parent e0a3bc6 commit 3fb99fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/xilinx/xilinx_emaclite.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
* 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;
Expand Down

0 comments on commit 3fb99fa

Please sign in to comment.