net: dsa: sja1105: Make 'sja1105et_regs' and 'sja1105pqrs_regs' static
authorWang Hai <wanghai26@huawei.com>
Wed, 8 May 2019 13:43:26 +0000 (21:43 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 May 2019 16:46:44 +0000 (09:46 -0700)
commit86dc59e39031fb0d366d5b1f92db015b24bef70b
treec845f07330fd88d658f57d5dc73c40957b8f4b04
parentc7e0d6cca86581092cbbf2cd868b3601495554cf
net: dsa: sja1105: Make 'sja1105et_regs' and 'sja1105pqrs_regs' static

drivers/net/dsa/sja1105/sja1105_spi.c:486:21: warning: symbol 'sja1105et_regs' was not declared. Should it be static?
drivers/net/dsa/sja1105/sja1105_spi.c:511:21: warning: symbol 'sja1105pqrs_regs' was not declared. Should it be static?

Fixes: 8aa9ebccae87 ("net: dsa: Introduce driver for NXP SJA1105 5-port L2 switch")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai26@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/sja1105/sja1105_spi.c