projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b54960
)
[PATCH] kernel-doc: ignore __devinit
author
Randy Dunlap
<rdunlap@xenotime.net>
Sun, 30 Jul 2006 10:03:41 +0000
(
03:03
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 31 Jul 2006 20:28:40 +0000
(13:28 -0700)
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>
scripts/kernel-doc
patch
|
blob
|
history
diff --git
a/scripts/kernel-doc
b/scripts/kernel-doc
index
f9460a6
..
c9ca0c2
100755
(executable)
--- 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,]*\)\)//;