summaryrefslogtreecommitdiffhomepage
path: root/vlan.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-29 19:26:01 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-07-29 19:26:01 +0200
commit170304603e7d905e98301c703ad2ec107b9a774c (patch)
tree7ebf0385b1cf9e2e164b7bab44bbd2202d9eafc9 /vlan.c
parentc4c609517db5f7a33e4d26809dd67620ba77e795 (diff)
s/claim_device/device_claim/
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 4b79799..85fe078 100644
--- a/vlan.c
+++ b/vlan.c
@@ -36,7 +36,7 @@ static int vlan_set_device_state(struct device *dev, bool up)
return 0;
}
- ret = claim_device(vldev->dep.dev);
+ ret = device_claim(vldev->dep.dev);
if (ret)
return ret;