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 /vlan.c | |
parent | 0b461898555d81efe1b57ec1cd9b9b1529cecd0f (diff) |
s/init_device/device_init/
Diffstat (limited to 'vlan.c')
-rw-r--r-- | vlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -92,7 +92,7 @@ static struct device *get_vlan_device(struct device *dev, int id, bool create) vldev = calloc(1, sizeof(*vldev)); snprintf(vldev->dev.ifname, IFNAMSIZ, "%s.%d", dev->ifname, id); - init_device(&vldev->dev, &vlan_type, NULL); + device_init(&vldev->dev, &vlan_type, NULL); vldev->set_state = vldev->dev.set_state; vldev->dev.set_state = vlan_set_device_state; |