summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-03-20 09:06:11 +0400
committerDavid S. Miller <davem@davemloft.net>2013-03-20 21:25:37 +0400
commit47a5247fddf30a1c0d1f5a1afb3bd17e8715075e (patch)
tree33cc93851db0888362cd6db4abc64a6cc4e3c7b1 /drivers/net/ethernet/freescale
parente052a5893b78d43bd183c6cc33bc346efe6bc6e5 (diff)
downloadlinux-47a5247fddf30a1c0d1f5a1afb3bd17e8715075e.tar.xz
net: fec: make local function fec_poll_controller() static
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>
Diffstat (limited to 'drivers/net/ethernet/freescale')
-rw-r--r--drivers/net/ethernet/freescale/fec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fec.c b/drivers/net/ethernet/freescale/fec.c
index 186222ef1012..3eb608f5d0c7 100644
--- a/drivers/net/ethernet/freescale/fec.c
+++ b/drivers/net/ethernet/freescale/fec.c
@@ -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);