Skip to content

Commit e052a58

Browse files
Wei Yongjundavem330
authored andcommitted
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 <[email protected]> Acked-by: Mugunthan V N <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 9fad0c9 commit e052a58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/ti/davinci_emac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1438,7 +1438,7 @@ static int emac_poll(struct napi_struct *napi, int budget)
14381438
* Polled functionality used by netconsole and others in non interrupt mode
14391439
*
14401440
*/
1441-
void emac_poll_controller(struct net_device *ndev)
1441+
static void emac_poll_controller(struct net_device *ndev)
14421442
{
14431443
struct emac_priv *priv = netdev_priv(ndev);
14441444

0 commit comments

Comments
 (0)