diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-07-29 19:25:45 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-07-29 19:25:45 +0200 |
commit | c4c609517db5f7a33e4d26809dd67620ba77e795 (patch) | |
tree | eb85ab1ba3dd1e9c500df76e15907a7bda44f1bc /device.c | |
parent | cd8b6676df948be45586b606cb32538b81e43f40 (diff) |
s/init_virtual_device/device_init_virtual/
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -164,7 +164,7 @@ int check_device_state(struct device *dev) return dev->type->check_state(dev); } -void init_virtual_device(struct device *dev, const struct device_type *type, const char *name) +void device_init_virtual(struct device *dev, const struct device_type *type, const char *name) { assert(dev); assert(type); @@ -181,7 +181,7 @@ int device_init(struct device *dev, const struct device_type *type, const char * { int ret; - init_virtual_device(dev, type, ifname); + device_init_virtual(dev, type, ifname); if (!dev->set_state) dev->set_state = set_device_state; |