From: Wei Yongjun Date: Wed, 20 Mar 2013 05:06:11 +0000 (+0000) Subject: net: fec: make local function fec_poll_controller() static X-Git-Tag: MMI-PSA29.97-13-9~14469^2~405 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=47a5247fddf30a1c0d1f5a1afb3bd17e8715075e;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git net: fec: make local function fec_poll_controller() static fec_poll_controller() was not declared. It should be static. Signed-off-by: Wei Yongjun Signed-off-by: David S. Miller --- 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);