mlxsw: item: Make char *buf arg constant for getters
authorJiri Pirko <jiri@mellanox.com>
Fri, 21 Oct 2016 14:07:19 +0000 (16:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 23 Oct 2016 21:21:28 +0000 (17:21 -0400)
commit412791df394bbf3547204b9875c7f5648e3dcf91
tree30f7af7649d463bca855fb734a436309e4753abc
parentfe0612dc902a299c78f46c776038b91ecf64e8d8
mlxsw: item: Make char *buf arg constant for getters

Enforce const for getter buf args.

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