提交 e052a589 编写于 作者: W Wei Yongjun 提交者: David S. Miller

net: ethernet: davinci_emac: make local function emac_poll_controller() static

emac_poll_controller() was not declared. It should be static.
Signed-off-by: NWei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: NMugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 9fad0c94
...@@ -1438,7 +1438,7 @@ static int emac_poll(struct napi_struct *napi, int budget) ...@@ -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 * 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); struct emac_priv *priv = netdev_priv(ndev);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册