device: Move the different device type registrations to the device type file
[project/netifd.git] / tunnel.c
index ec622d8..32f3613 100644 (file)
--- a/tunnel.c
+++ b/tunnel.c
@@ -97,4 +97,7 @@ struct device_type tunnel_device_type = {
        .free = tunnel_free,
 };
 
        .free = tunnel_free,
 };
 
-
+static void __init tunnel_device_type_init(void)
+{
+       device_type_add(&tunnel_device_type);
+}