From: Wei Yongjun Date: Wed, 20 Mar 2013 05:01:45 +0000 (+0000) Subject: net: ethernet: davinci_emac: make local function emac_poll_controller() static X-Git-Tag: v3.10-rc1~66^2~406 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e052a5893b78d43bd183c6cc33bc346efe6bc6e5;p=platform%2Fkernel%2Flinux-stable.git net: ethernet: davinci_emac: make local function emac_poll_controller() static emac_poll_controller() was not declared. It should be static. Signed-off-by: Wei Yongjun Acked-by: Mugunthan V N Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/ti/davinci_emac.c b/drivers/net/ethernet/ti/davinci_emac.c index ae1b77a..e38e3d8 100644 --- a/drivers/net/ethernet/ti/davinci_emac.c +++ b/drivers/net/ethernet/ti/davinci_emac.c @@ -1438,7 +1438,7 @@ static int emac_poll(struct napi_struct *napi, int budget) * Polled functionality used by netconsole and others in non interrupt mode * */ -void emac_poll_controller(struct net_device *ndev) +static void emac_poll_controller(struct net_device *ndev) { struct emac_priv *priv = netdev_priv(ndev);