]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - scripts/kernel-doc
Merge remote-tracking branch 'kbuild/for-next'
[karo-tx-linux.git] / scripts / kernel-doc
index 97e037aa97a7a3d1f41c1a9645982b8c82023b8a..5ee8e91db6b9065bf6963378d32c162e51f3767d 100755 (executable)
@@ -2045,6 +2045,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,]*\)\)//;