OSDN Git Service

net: dsa: sja1105: Make two functions static
authorYueHaibing <yuehaibing@huawei.com>
Tue, 11 Jun 2019 13:58:34 +0000 (21:58 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Jun 2019 20:58:32 +0000 (13:58 -0700)
commit1dbb98699cf0eaa1d86afca074074bfe669881d0
treeb3c79ba2733e5edcdf339a4a3c2288fd47894de2
parenta842fe1425cb20f457abd3f8ef98b468f83ca98b
net: dsa: sja1105: Make two functions static

Fix sparse warnings:

drivers/net/dsa/sja1105/sja1105_main.c:1848:6:
 warning: symbol 'sja1105_port_rxtstamp' was not declared. Should it be static?
drivers/net/dsa/sja1105/sja1105_main.c:1869:6:
 warning: symbol 'sja1105_port_txtstamp' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Tested-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/sja1105/sja1105_main.c