Unified · Split
| @@ -188,7 +188,8 @@ int switchdev_port_attr_set(struct net_device *dev, struct switchdev_attr *attr) · 187 unmodified lines | |||
| 188 | } | 188 | } |
| 189 | EXPORT_SYMBOL_GPL(switchdev_port_attr_set); | 189 | EXPORT_SYMBOL_GPL(switchdev_port_attr_set); |
| 190 | 190 | ||
| 191 | int __switchdev_port_obj_add(struct net_device *dev, struct switchdev_obj *obj) | 191 | static int __switchdev_port_obj_add(struct net_device *dev, |
| 192 | struct switchdev_obj *obj) | ||
| 192 | { | 193 | { |
| 193 | const struct switchdev_ops *ops = dev->switchdev_ops; | 194 | const struct switchdev_ops *ops = dev->switchdev_ops; |
| 194 | struct net_device *lower_dev; | 195 | struct net_device *lower_dev; |