Skip to content

Commit

Permalink
mlxsw: spectrum: Make mlxsw_sp_port_switchdev_ops static
Browse files Browse the repository at this point in the history
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jiri Pirko authored and David S. Miller committed Oct 30, 2015
1 parent d9324f6 commit c7070fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c7070fc

Please sign in to comment.