X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=device.h;h=d9b90120e5a9b9dc602601bfff8703e2036b7fd3;hb=cd8b6676df948be45586b606cb32538b81e43f40;hp=732ef02bcfea416a1bd9c4cbc553e03e16e5d5a5;hpb=0b461898555d81efe1b57ec1cd9b9b1529cecd0f;p=project%2Fnetifd.git 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);