summaryrefslogtreecommitdiffhomepage
path: root/vlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'vlan.c')
-rw-r--r--vlan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vlan.c b/vlan.c
index b906cd5..ce9d2d7 100644
--- a/vlan.c
+++ b/vlan.c
@@ -55,10 +55,10 @@ static void vlan_dev_cb(struct device_user *dep, enum device_event ev)
vldev = container_of(dep, struct vlan_device, dep);
switch(ev) {
case DEV_EVENT_ADD:
- set_device_present(&vldev->dev, true);
+ device_set_present(&vldev->dev, true);
break;
case DEV_EVENT_REMOVE:
- set_device_present(&vldev->dev, false);
+ device_set_present(&vldev->dev, false);
break;
default:
break;