projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wireless: fix _wireless_add_process
[project/netifd.git]
/
tunnel.c
diff --git
a/tunnel.c
b/tunnel.c
index
ec622d8
..
3fa3e21
100644
(file)
--- a/
tunnel.c
+++ b/
tunnel.c
@@
-90,11
+90,14
@@
tunnel_free(struct device *dev)
}
struct device_type tunnel_device_type = {
}
struct device_type tunnel_device_type = {
- .name = "
IP
tunnel",
+ .name = "tunnel",
.config_params = &tunnel_attr_list,
.reload = tunnel_reload,
.create = tunnel_create,
.free = tunnel_free,
};
.config_params = &tunnel_attr_list,
.reload = tunnel_reload,
.create = tunnel_create,
.free = tunnel_free,
};
-
+static void __init tunnel_device_type_init(void)
+{
+ device_type_add(&tunnel_device_type);
+}