net: emaclite: Let's make xemaclite_adjust_link static
authorMichal Simek <michal.simek@xilinx.com>
Thu, 30 May 2013 00:28:05 +0000 (00:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 May 2013 00:08:43 +0000 (17:08 -0700)
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>
drivers/net/ethernet/xilinx/xilinx_emaclite.c

index fcd1e0b46103425e83c54a7488918ba8573d949c..93bb14e04d844b6fa4f62d5f7101447de481aad0 100644 (file)
@@ -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;