mlxsw: Constify devlink_resource_ops
authorJiri Pirko <jiri@mellanox.com>
Sun, 1 Apr 2018 14:34:52 +0000 (17:34 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Apr 2018 14:56:42 +0000 (10:56 -0400)
commitf9b9120119ca70ccdb1c900ac061425e4784c4de
tree53a63b23dc885af79ee9c82a2f0dd681a2b500c5
parentc8276dd250e9a9833f8ff1da1cd53e6f7e6825e2
mlxsw: Constify devlink_resource_ops

devlink_resource_ops should be const as the arg of register function is
also const.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_kvdl.c