From: YueHaibing Date: Mon, 23 Sep 2019 06:16:03 +0000 (+0800) Subject: gianfar: Make reset_gfar static X-Git-Tag: v5.15~5389^2~52 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=9f5c44cf61a7cf29d85d2c0d2065ab2d62764a41;p=mirror_ubuntu-kernels.git gianfar: Make reset_gfar static Fix sparse warning: drivers/net/ethernet/freescale/gianfar.c:2070:6: warning: symbol 'reset_gfar' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: YueHaibing Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/freescale/gianfar.c b/drivers/net/ethernet/freescale/gianfar.c index 24bf7f68375f..51ad86417cb1 100644 --- a/drivers/net/ethernet/freescale/gianfar.c +++ b/drivers/net/ethernet/freescale/gianfar.c @@ -2067,7 +2067,7 @@ static int gfar_change_mtu(struct net_device *dev, int new_mtu) return 0; } -void reset_gfar(struct net_device *ndev) +static void reset_gfar(struct net_device *ndev) { struct gfar_private *priv = netdev_priv(ndev);