summaryrefslogtreecommitdiffhomepage
path: root/interface.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 /interface.c
parentc4c609517db5f7a33e4d26809dd67620ba77e795 (diff)
s/claim_device/device_claim/
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface.c b/interface.c
index 22fe300..1f73130 100644
--- a/interface.c
+++ b/interface.c
@@ -103,7 +103,7 @@ __set_interface_up(struct interface *iface)
if (iface->state != IFS_DOWN)
return 0;
- ret = claim_device(iface->main_dev.dev);
+ ret = device_claim(iface->main_dev.dev);
if (ret)
return ret;