aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/switchdev/switchdev.c')
-rw-r--r--net/switchdev/switchdev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/switchdev/switchdev.c b/net/switchdev/switchdev.c
index 65d49d4477b9..a267f7728165 100644
--- a/net/switchdev/switchdev.c
+++ b/net/switchdev/switchdev.c
@@ -188,7 +188,8 @@ int switchdev_port_attr_set(struct net_device *dev, struct switchdev_attr *attr)
188} 188}
189EXPORT_SYMBOL_GPL(switchdev_port_attr_set); 189EXPORT_SYMBOL_GPL(switchdev_port_attr_set);
190 190
191int __switchdev_port_obj_add(struct net_device *dev, struct switchdev_obj *obj) 191static 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;