mlxsw: spectrum: Make function mlxsw_sp_kvdl_part_occ() static
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 17 Jan 2018 03:27:33 +0000 (03:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Jan 2018 19:35:32 +0000 (14:35 -0500)
commit8df1d08bf255155f0624b5780905ccc0bb66a740
treebd936572be53e3e7075b67748d52d252c7a10a47
parent1da847b992da9d0e4af799962458f6fda8d02a02
mlxsw: spectrum: Make function mlxsw_sp_kvdl_part_occ() static

Fixes the following sparse warning:

drivers/net/ethernet/mellanox/mlxsw/spectrum_kvdl.c:289:5: warning:
 symbol 'mlxsw_sp_kvdl_part_occ' was not declared. Should it be static?

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