s/remove_device_user/device_remove_user/g
[project/netifd.git] / vlan.c
diff --git a/vlan.c b/vlan.c
index c417f75..1755777 100644 (file)
--- a/vlan.c
+++ b/vlan.c
@@ -18,7 +18,7 @@ static void free_vlan_if(struct device *iface)
        struct vlan_device *vldev;
 
        vldev = container_of(iface, struct vlan_device, dev);
-       remove_device_user(&vldev->dep);
+       device_remove_user(&vldev->dep);
        cleanup_device(&vldev->dev);
        free(vldev);
 }