summaryrefslogtreecommitdiffhomepage
path: root/device.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-29 19:25:01 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-07-29 19:25:01 +0200
commitc1b3cab4e1916f49e1f9e1868c698bf391029684 (patch)
treefd1ef65793a28da5c46cb2d3e40b2ba06aa12565 /device.h
parent3062736f3cf323e3b0f95c4c97fdcf57ab768590 (diff)
s/cleanup_device/device_cleanup/
Diffstat (limited to 'device.h')
-rw-r--r--device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/device.h b/device.h
index dd7e114..33278c9 100644
--- a/device.h
+++ b/device.h
@@ -131,7 +131,7 @@ struct device *device_create(struct blob_attr *attr, struct uci_section *s);
void init_virtual_device(struct device *dev, const struct device_type *type, const char *name);
int init_device(struct device *iface, const struct device_type *type, const char *ifname);
-void cleanup_device(struct device *iface);
+void device_cleanup(struct device *iface);
struct device *get_device(const char *name, bool create);
void device_add_user(struct device_user *dep, struct device *iface);
void device_remove_user(struct device_user *dep);