X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=tunnel.c;h=32f361342fe605586fd22cf6c9590edd62480643;hp=ec622d8d47ac10aa04762f803f5a831fdd536cd7;hb=92889eca62fcd5b72d7c54101c35ff6d6d477c40;hpb=fe6ad84c7120a1000c9dcd3cabdc6249b36414a6 diff --git a/tunnel.c b/tunnel.c index ec622d8..32f3613 100644 --- 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); +}