]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: bcm_sf2: Fix non static symbol warning
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 15 Sep 2016 02:24:13 +0000 (02:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Sep 2016 08:25:50 +0000 (04:25 -0400)
commit689e815a9953b7f6e9d0a0926778b81ad85d09df
tree2e17f93b7ff5fb2354c80319bf2059a8c97c9cea
parentcf2b1ba6943abcd663d47e4e0d7778a16f6f59b3
net: dsa: bcm_sf2: Fix non static symbol warning

Fixes the following sparse warning:

drivers/net/dsa/bcm_sf2.c:963:19: warning:
 symbol 'bcm_sf2_io_ops' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2.c