summaryrefslogtreecommitdiffhomepage
path: root/vlan.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-29 19:24:47 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-07-29 19:24:47 +0200
commit3062736f3cf323e3b0f95c4c97fdcf57ab768590 (patch)
tree1446ff3e21f37eea6dd3e53d182efaa9af205bcd /vlan.c
parent8c7ee052813ae68490b230c657a4a36700654ce5 (diff)
s/set_device_present/device_set_present/
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;