summaryrefslogtreecommitdiffhomepage
path: root/device.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-29 19:25:45 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-07-29 19:25:45 +0200
commitc4c609517db5f7a33e4d26809dd67620ba77e795 (patch)
treeeb85ab1ba3dd1e9c500df76e15907a7bda44f1bc /device.c
parentcd8b6676df948be45586b606cb32538b81e43f40 (diff)
s/init_virtual_device/device_init_virtual/
Diffstat (limited to 'device.c')
-rw-r--r--device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/device.c b/device.c
index 2df4539..6fa697b 100644
--- a/device.c
+++ b/device.c
@@ -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;