diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 0514e2505f7e6ec30e443893058a01307871085e..f9460a6218de414b04d4e3785b28de0b6e9331a2 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -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;