mlxsw: spectrum_kvdl: Make some functions static
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 12 Mar 2018 12:25:24 +0000 (12:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Mar 2018 15:19:25 +0000 (11:19 -0400)
commit3ed898e8cd0588152d9f0d7f472387c4af7f640e
treef0b119f30c84f2ccf8f82baaef84abcd3efe7c72
parentde8d5ab2ff6edc8e26822965a30b6aa4e9332025
mlxsw: spectrum_kvdl: Make some functions static

Fixes the following sparse warnings:

drivers/net/ethernet/mellanox/mlxsw/spectrum_kvdl.c:371:5: warning:
 symbol 'mlxsw_sp_kvdl_single_occ_get' was not declared. Should it be static?
drivers/net/ethernet/mellanox/mlxsw/spectrum_kvdl.c:384:5: warning:
 symbol 'mlxsw_sp_kvdl_chunks_occ_get' was not declared. Should it be static?
drivers/net/ethernet/mellanox/mlxsw/spectrum_kvdl.c:397:5: warning:
 symbol 'mlxsw_sp_kvdl_large_chunks_occ_get' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_kvdl.c