projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/scripts/kernel-doc
b/scripts/kernel-doc
index f9460a6218de414b04d4e3785b28de0b6e9331a2..c9ca0c23bd9100f3b583c4a87b7a3e096ce324dc 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,]*\)\)//;