Commit 3243e04a authored by Chen Wandun's avatar Chen Wandun Committed by David S. Miller
Browse files

net: dsa: ocelot: fix "should it be static?" warnings



Fix following sparse warnings:
drivers/net/dsa/ocelot/felix.c:351:6: warning: symbol 'felix_txtstamp' was not declared. Should it be static?

Signed-off-by: default avatarChen Wandun <chenwandun@huawei.com>
Reviewed-by: default avatarVivien Didelot <vivien.didelot@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fd1fef0c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -348,7 +348,7 @@ static bool felix_rxtstamp(struct dsa_switch *ds, int port,
	return false;
}

bool felix_txtstamp(struct dsa_switch *ds, int port,
static bool felix_txtstamp(struct dsa_switch *ds, int port,
			   struct sk_buff *clone, unsigned int type)
{
	struct ocelot *ocelot = ds->priv;