diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-07-30 12:03:41 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-31 22:28:40 +0200 |
commit | 0129a057b652b33dba6406a940af061cf0f36f79 (patch) | |
tree | 27a31c64d36f5ced5d9d285fe217bb772b33dd55 | |
parent | [PATCH] fix kernel-api doc for kernel/resource.c (diff) | |
download | linux-0129a057b652b33dba6406a940af061cf0f36f79.tar.xz linux-0129a057b652b33dba6406a940af061cf0f36f79.zip |
[PATCH] kernel-doc: ignore __devinit
Ignore __devinit in function definitions so that kernel-doc won't fail on
them.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rwxr-xr-x | scripts/kernel-doc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index f9460a6218de..c9ca0c23bd91 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -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,]*\)\)//; |