mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
[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>
This commit is contained in:
parent
2b54960bdf
commit
0129a057b6
@ -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,]*\)\)//;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user