mlxsw: spectrum: Make mlxsw_sp_port_switchdev_ops static
[deliverable/linux.git] / drivers / net / ethernet / mellanox / mlxsw / spectrum_switchdev.c
index c2d09699b6daf92f346b7e7ab994cce2168f3d9e..617fb22b5d81e75e34a96a73a3c9918e060d3cb1 100644 (file)
@@ -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,
This page took 0.034707 seconds and 5 git commands to generate.