summaryrefslogtreecommitdiffstats
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-09-05 09:17:31 +0200
committerTakashi Iwai <tiwai@suse.de>2012-09-05 09:17:31 +0200
commit14e42917216ab0859827c2d8024df45a917301b4 (patch)
treeefbea5d1c54387d62a6fd66a21560232cf312fda /scripts/kernel-doc
parentALSA: emu10k1: use list_move_tail instead of list_del/list_add_tail (diff)
parentALSA: remove the main version information (diff)
downloadlinux-14e42917216ab0859827c2d8024df45a917301b4.tar.xz
linux-14e42917216ab0859827c2d8024df45a917301b4.zip
Merge branch 'fixes' of git://git.alsa-project.org/alsa-kernel into for-next
Diffstat (limited to 'scripts/kernel-doc')
-rwxr-xr-xscripts/kernel-doc1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index 9b0c0b8b4ab4..8fd107a3fac4 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -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,]*\)\)//;