summaryrefslogtreecommitdiff
path: root/vlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'vlan.c')
-rw-r--r--vlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vlan.c b/vlan.c
index 1755777..b906cd5 100644
--- a/vlan.c
+++ b/vlan.c
@@ -100,7 +100,7 @@ static struct device *get_vlan_device(struct device *dev, int id, bool create)
vldev->id = id;
vldev->dep.cb = vlan_dev_cb;
- add_device_user(&vldev->dep, dev);
+ device_add_user(&vldev->dep, dev);
return &vldev->dev;
}