summaryrefslogtreecommitdiffhomepage
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 ce9d2d7..88604d3 100644
--- a/vlan.c
+++ b/vlan.c
@@ -19,7 +19,7 @@ static void free_vlan_if(struct device *iface)
vldev = container_of(iface, struct vlan_device, dev);
device_remove_user(&vldev->dep);
- cleanup_device(&vldev->dev);
+ device_cleanup(&vldev->dev);
free(vldev);
}