mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-07 04:57:52 +07:00
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: Chen Wandun <chenwandun@huawei.com> Reviewed-by: Vivien Didelot <vivien.didelot@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
fd1fef0c45
commit
3243e04ab1
@ -348,8 +348,8 @@ static bool felix_rxtstamp(struct dsa_switch *ds, int port,
|
||||
return false;
|
||||
}
|
||||
|
||||
bool felix_txtstamp(struct dsa_switch *ds, int port,
|
||||
struct sk_buff *clone, unsigned int type)
|
||||
static bool felix_txtstamp(struct dsa_switch *ds, int port,
|
||||
struct sk_buff *clone, unsigned int type)
|
||||
{
|
||||
struct ocelot *ocelot = ds->priv;
|
||||
struct ocelot_port *ocelot_port = ocelot->ports[port];
|
||||
|
Loading…
Reference in New Issue
Block a user