X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fkernel-doc;h=00d1ad19b2cc8babe05a17190ca48c5029eae9a1;hb=f0737a39a64a9df32bb045c54e1cdf6cecdcbdd7;hp=f9460a6218de414b04d4e3785b28de0b6e9331a2;hpb=5f765b8d68fe99c8a575265d81c62382893e1e8a;p=pandora-kernel.git diff --git a/scripts/kernel-doc b/scripts/kernel-doc index f9460a6218de..00d1ad19b2cc 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -57,8 +57,8 @@ use strict; # other functions are ignored. # # -nofunction funcname -# If set, then only generate documentation for the other function(s). All -# other functions are ignored. Cannot be used with -function together +# If set, then only generate documentation for the other function(s). +# Cannot be used together with -function # (yes, that's a bug -- perl hackers can fix it 8)) # # c files - list of 'c' files to process @@ -1518,6 +1518,7 @@ sub dump_function($$) { $prototype =~ s/^asmlinkage +//; $prototype =~ s/^inline +//; $prototype =~ s/^__inline__ +//; + $prototype =~ s/__devinit +//; $prototype =~ s/^#define +//; #ak added $prototype =~ s/__attribute__ \(\([a-z,]*\)\)//;