X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=vlan.c;h=067f6245bf487f3661d49cd787017edadccfedec;hp=7f8697b6609861724510999369fb6dd5e53ab897;hb=7f6be657e2dabc185417520de4d0d0de2580c27d;hpb=29521f9a232f039318fd8525c410b3127836626f diff --git a/vlan.c b/vlan.c index 7f8697b..067f624 100644 --- a/vlan.c +++ b/vlan.c @@ -96,7 +96,7 @@ static void vlan_dev_cb(struct device_user *dep, enum device_event ev) static struct device *get_vlan_device(struct device *dev, int id, bool create) { - static const struct device_type vlan_type = { + static struct device_type vlan_type = { .name = "VLAN", .config_params = &device_attr_list, .free = free_vlan_if,