projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
device: prepare for adding device handlers dynamically
[project/netifd.git]
/
vlan.c
diff --git
a/vlan.c
b/vlan.c
index
7f8697b
..
067f624
100644
(file)
--- 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,