diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-07-29 19:24:31 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-07-29 19:24:31 +0200 |
commit | 8c7ee052813ae68490b230c657a4a36700654ce5 (patch) | |
tree | 3943b3d32ecaf71edfa7b5074478660f2c8d5b95 /bridge.c | |
parent | a9030987750fefa9152539edeb44d5dd0a22cbcf (diff) |
s/add_device_user/device_add_user/
Diffstat (limited to 'bridge.c')
-rw-r--r-- | bridge.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |