summaryrefslogtreecommitdiffhomepage
path: root/device.h
diff options
context:
space:
mode:
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 732ef02..d9b9012 100644
--- a/device.h
+++ b/device.h
@@ -130,7 +130,7 @@ extern const struct config_param_list device_attr_list;
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);
+int device_init(struct device *iface, const struct device_type *type, const char *ifname);
void device_cleanup(struct device *iface);
struct device *device_get(const char *name, bool create);
void device_add_user(struct device_user *dep, struct device *iface);