diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-07-29 19:25:37 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-07-29 19:25:37 +0200 |
commit | cd8b6676df948be45586b606cb32538b81e43f40 (patch) | |
tree | ae70d7ef5e3db104b5703e758a6148e9c12b935b /device.c | |
parent | 0b461898555d81efe1b57ec1cd9b9b1529cecd0f (diff) |
s/init_device/device_init/
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -177,7 +177,7 @@ void init_virtual_device(struct device *dev, const struct device_type *type, con dev->type = type; } -int init_device(struct device *dev, const struct device_type *type, const char *ifname) +int device_init(struct device *dev, const struct device_type *type, const char *ifname) { int ret; @@ -218,7 +218,7 @@ struct device *device_get(const char *name, bool create) return NULL; dev = calloc(1, sizeof(*dev)); - init_device(dev, &simple_type, name); + device_init(dev, &simple_type, name); return dev; } |