diff options
Diffstat (limited to 'scripts/checkpatch.pl')
| -rwxr-xr-x | scripts/checkpatch.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 3453df9f90ab..95cda3ecc66b 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
| @@ -3105,6 +3105,7 @@ sub process { | |||
| 3105 | $line =~ /^\+[a-z_]*init/ || | 3105 | $line =~ /^\+[a-z_]*init/ || |
| 3106 | $line =~ /^\+\s*(?:static\s+)?[A-Z_]*ATTR/ || | 3106 | $line =~ /^\+\s*(?:static\s+)?[A-Z_]*ATTR/ || |
| 3107 | $line =~ /^\+\s*DECLARE/ || | 3107 | $line =~ /^\+\s*DECLARE/ || |
| 3108 | $line =~ /^\+\s*builtin_[\w_]*driver/ || | ||
| 3108 | $line =~ /^\+\s*__setup/)) { | 3109 | $line =~ /^\+\s*__setup/)) { |
| 3109 | if (CHK("LINE_SPACING", | 3110 | if (CHK("LINE_SPACING", |
| 3110 | "Please use a blank line after function/struct/union/enum declarations\n" . $hereprev) && | 3111 | "Please use a blank line after function/struct/union/enum declarations\n" . $hereprev) && |
