From: Jiri Pirko Date: Wed, 28 Oct 2015 09:17:05 +0000 (+0100) Subject: mlxsw: spectrum: Make mlxsw_sp_port_switchdev_ops static X-Git-Tag: MMI-PSA29.97-13-9~9125^2~45^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c7070fc4ecb50bee801cef85483e043d0ba1dd27;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git mlxsw: spectrum: Make mlxsw_sp_port_switchdev_ops static Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c index c2d09699b6da..617fb22b5d81 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c @@ -732,7 +732,7 @@ static int mlxsw_sp_port_obj_dump(struct net_device *dev, return err; } -const struct switchdev_ops mlxsw_sp_port_switchdev_ops = { +static const struct switchdev_ops mlxsw_sp_port_switchdev_ops = { .switchdev_port_attr_get = mlxsw_sp_port_attr_get, .switchdev_port_attr_set = mlxsw_sp_port_attr_set, .switchdev_port_obj_add = mlxsw_sp_port_obj_add,