aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti/davinci_emac.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-03-20 05:01:45 +0000
committerDavid S. Miller <davem@davemloft.net>2013-03-20 13:25:37 -0400
commite052a5893b78d43bd183c6cc33bc346efe6bc6e5 (patch)
treeb672cbe37ebc734ce3a110316e5d254048ddb1f4 /drivers/net/ethernet/ti/davinci_emac.c
parentnet: mdio-octeon: Use module_platform_driver() (diff)
downloadlinux-dev-e052a5893b78d43bd183c6cc33bc346efe6bc6e5.tar.xz
linux-dev-e052a5893b78d43bd183c6cc33bc346efe6bc6e5.zip
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 <yongjun_wei@trendmicro.com.cn> Acked-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/ti/davinci_emac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/davinci_emac.c b/drivers/net/ethernet/ti/davinci_emac.c
index ae1b77aa199f..e38e3d8f81eb 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);