]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - scripts/kernel-doc
[POWERPC] convert string i/o operations to C
[karo-tx-linux.git] / scripts / kernel-doc
index 0514e2505f7e6ec30e443893058a01307871085e..c9ca0c23bd9100f3b583c4a87b7a3e096ce324dc 100755 (executable)
@@ -1119,7 +1119,10 @@ sub output_function_text(%) {
     my %args = %{$_[0]};
     my ($parameter, $section);
 
-    print "Function:\n\n";
+    print "Name:\n\n";
+    print $args{'function'}." - ".$args{'purpose'}."\n";
+
+    print "\nSynopsis:\n\n";
     my $start=$args{'functiontype'}." ".$args{'function'}." (";
     print $start;
     my $count = 0;
@@ -1515,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,]*\)\)//;