summaryrefslogtreecommitdiffhomepage
path: root/interface.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-29 19:25:12 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-07-29 19:25:12 +0200
commit0b461898555d81efe1b57ec1cd9b9b1529cecd0f (patch)
tree4b7f8ab7e8079b26301a1a6d32dfa4f975a70cf6 /interface.c
parentc1b3cab4e1916f49e1f9e1868c698bf391029684 (diff)
s/get_device/device_get/
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 95ee8ea..22fe300 100644
--- a/interface.c
+++ b/interface.c
@@ -236,7 +236,7 @@ alloc_interface(const char *name, struct uci_section *s, struct blob_attr *attr)
}
if ((cur = tb[IFACE_ATTR_IFNAME])) {
- dev = get_device(blobmsg_data(cur), true);
+ dev = device_get(blobmsg_data(cur), true);
if (dev)
device_add_user(&iface->main_dev, dev);
}