summaryrefslogtreecommitdiffhomepage
path: root/device.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 /device.c
parenta9030987750fefa9152539edeb44d5dd0a22cbcf (diff)
s/add_device_user/device_add_user/
Diffstat (limited to 'device.c')
-rw-r--r--device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/device.c b/device.c
index 4951cb2..88b2cd0 100644
--- a/device.c
+++ b/device.c
@@ -249,7 +249,7 @@ void set_device_present(struct device *dev, bool state)
broadcast_device_event(dev, state ? DEV_EVENT_ADD : DEV_EVENT_REMOVE);
}
-void add_device_user(struct device_user *dep, struct device *dev)
+void device_add_user(struct device_user *dep, struct device *dev)
{
dep->dev = dev;
list_add(&dep->list, &dev->users);