summaryrefslogtreecommitdiffhomepage
path: root/bridge.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 /bridge.c
parentc1b3cab4e1916f49e1f9e1868c698bf391029684 (diff)
s/get_device/device_get/
Diffstat (limited to 'bridge.c')
-rw-r--r--bridge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge.c b/bridge.c
index aff41fb..3372d20 100644
--- a/bridge.c
+++ b/bridge.c
@@ -199,7 +199,7 @@ bridge_add_member(struct bridge_state *bst, const char *name)
{
struct device *dev;
- dev = get_device(name, true);
+ dev = device_get(name, true);
if (!dev)
return;
@@ -321,7 +321,7 @@ bridge_create(const char *name, struct uci_section *s)
struct bridge_state *bst;
struct device *dev;
- dev = get_device(name, false);
+ dev = device_get(name, false);
if (dev)
return NULL;