Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0129a057 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds
Browse files

[PATCH] kernel-doc: ignore __devinit



Ignore __devinit in function definitions so that kernel-doc won't fail on
them.

Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2b54960b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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,]*\)\)//;