summaryrefslogtreecommitdiffhomepage
path: root/bridge.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-29 19:25:37 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-07-29 19:25:37 +0200
commitcd8b6676df948be45586b606cb32538b81e43f40 (patch)
treeae70d7ef5e3db104b5703e758a6148e9c12b935b /bridge.c
parent0b461898555d81efe1b57ec1cd9b9b1529cecd0f (diff)
s/init_device/device_init/
Diffstat (limited to 'bridge.c')
-rw-r--r--bridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge.c b/bridge.c
index 3372d20..ad981da 100644
--- a/bridge.c
+++ b/bridge.c
@@ -329,7 +329,7 @@ bridge_create(const char *name, struct uci_section *s)
if (!bst)
return NULL;
- init_device(&bst->dev, &bridge_type, name);
+ device_init(&bst->dev, &bridge_type, name);
bst->set_state = bst->dev.set_state;
bst->dev.set_state = bridge_set_state;