}
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,
};
-
+static void __init tunnel_device_type_init(void)
+{
+ device_type_add(&tunnel_device_type);
+}