]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: fix non static symbol warnings
authorWei Yongjun <weiyongjun1@huawei.com>
Sun, 25 Sep 2016 15:43:02 +0000 (15:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Sep 2016 03:47:31 +0000 (23:47 -0400)
commite4261b5a38ec78537d32153618d283e40dd2913e
tree1a8750d2f40904e7f2d720adae53b586450e7d49
parent72ce955ca2dfca2662a31ad418ae1a6bd9e9077b
net: dsa: mv88e6xxx: fix non static symbol warnings

Fixes the following sparse warnings:

drivers/net/dsa/mv88e6xxx/chip.c:219:5: warning:
 symbol 'mv88e6xxx_port_read' was not declared. Should it be static?
drivers/net/dsa/mv88e6xxx/chip.c:227:5: warning:
 symbol 'mv88e6xxx_port_write' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c