summaryrefslogtreecommitdiffhomepage
path: root/bridge.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-29 19:24:31 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-07-29 19:24:31 +0200
commit8c7ee052813ae68490b230c657a4a36700654ce5 (patch)
tree3943b3d32ecaf71edfa7b5074478660f2c8d5b95 /bridge.c
parenta9030987750fefa9152539edeb44d5dd0a22cbcf (diff)
s/add_device_user/device_add_user/
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 4ef98e6..6dca6e3 100644
--- a/bridge.c
+++ b/bridge.c
@@ -169,7 +169,7 @@ bridge_create_member(struct bridge_state *bst, struct device *dev)
bm = calloc(1, sizeof(*bm));
bm->bst = bst;
bm->dev.cb = bridge_member_cb;
- add_device_user(&bm->dev, dev);
+ device_add_user(&bm->dev, dev);
list_add(&bm->list, &bst->members);
@@ -357,6 +357,6 @@ interface_attach_bridge(struct interface *iface, struct uci_section *s)
if (!dev)
return -1;
- add_device_user(&iface->main_dev, dev);
+ device_add_user(&iface->main_dev, dev);
return 0;
}