summaryrefslogtreecommitdiffhomepage
path: root/vlan.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-29 19:24:31 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-07-29 19:24:31 +0200
commit8c7ee052813ae68490b230c657a4a36700654ce5 (patch)
tree3943b3d32ecaf71edfa7b5074478660f2c8d5b95 /vlan.c
parenta9030987750fefa9152539edeb44d5dd0a22cbcf (diff)
s/add_device_user/device_add_user/
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;
}