]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - scripts/kernel-doc
Merge remote-tracking branch 'arm-perf/for-next/perf'
[karo-tx-linux.git] / scripts / kernel-doc
index 9b0c0b8b4ab4cd483158cfb606aaba038fbbabb5..8fd107a3fac49e32a0879549e88546d7f7f594dd 100755 (executable)
@@ -1786,6 +1786,7 @@ sub dump_function($$) {
     $prototype =~ s/__init +//;
     $prototype =~ s/__init_or_module +//;
     $prototype =~ s/__must_check +//;
+    $prototype =~ s/__weak +//;
     $prototype =~ s/^#\s*define\s+//; #ak added
     $prototype =~ s/__attribute__\s*\(\([a-z,]*\)\)//;