projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
device: Move the different device type registrations to the device type file
[project/netifd.git]
/
tunnel.c
diff --git
a/tunnel.c
b/tunnel.c
index ec622d8d47ac10aa04762f803f5a831fdd536cd7..32f361342fe605586fd22cf6c9590edd62480643 100644
(file)
--- a/
tunnel.c
+++ b/
tunnel.c
@@
-97,4
+97,7
@@
struct device_type tunnel_device_type = {
.free = tunnel_free,
};
-
+static void __init tunnel_device_type_init(void)
+{
+ device_type_add(&tunnel_device_type);
+}