net: fec: make local function fec_poll_controller() static
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 20 Mar 2013 05:06:11 +0000 (05:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Mar 2013 17:25:37 +0000 (13:25 -0400)
fec_poll_controller() was not declared. It should be static.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec.c

index 186222ef1012fc51cc3792a79f6c755adf26bb51..3eb608f5d0c726814e4ce5ee8e4332bb27dc56a3 100644 (file)
@@ -1556,7 +1556,7 @@ fec_set_mac_address(struct net_device *ndev, void *p)
  * Polled functionality used by netconsole and others in non interrupt mode
  *
  */
-void fec_poll_controller(struct net_device *dev)
+static void fec_poll_controller(struct net_device *dev)
 {
        int i;
        struct fec_enet_private *fep = netdev_priv(dev);