]> git.baikalelectronics.ru Git - kernel.git/commit
net: hinic: make functions set_ctrl0 and set_ctrl1 static
authorColin Ian King <colin.king@canonical.com>
Wed, 23 Aug 2017 09:59:40 +0000 (10:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Aug 2017 05:20:28 +0000 (22:20 -0700)
commit24ad6e5a1dc2bfcac1d62a6b50b0c55f8f7dbd4b
tree2179b168f6b10c92b78817d410fa71719c1825a2
parent2fd680acba7376a74c76318b53f3751040cb0650
net: hinic: make functions set_ctrl0 and set_ctrl1 static

The functions set_ctrl0 and set_ctrl1 are local to the source and do
not need to be in global scope, so make them static.

Cleans up sparse warnings:
symbol 'set_ctrl0' was not declared. Should it be static?
symbol 'set_ctrl1' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c