]> Pileus Git - ~andy/linux/blobdiff - scripts/kernel-doc
scripts/kernel-doc: fix fatal error on function prototype
[~andy/linux] / scripts / kernel-doc
index c297eb4785d6f5f38a07a7bcf837e3508af64514..fcdfb245a5755d3bc534ac25d35728c214e8d03d 100755 (executable)
@@ -1730,6 +1730,7 @@ sub dump_function($$) {
     $prototype =~ s/^noinline +//;
     $prototype =~ s/__devinit +//;
     $prototype =~ s/__init +//;
+    $prototype =~ s/__init_or_module +//;
     $prototype =~ s/^#\s*define\s+//; #ak added
     $prototype =~ s/__attribute__\s*\(\([a-z,]*\)\)//;