summaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-04-16 12:44:33 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-17 09:03:58 -0400
commit6d07d01b62b2d81500803058f736b46677ec873a (patch)
treee511bf7972d2532a5a1776e32ccc76b8e90c8fd5 /scripts/checkpatch.pl
parent29a3c46673a5e3ee22feaba7020a280486c78f0a (diff)
downloadop-kernel-dev-6d07d01b62b2d81500803058f736b46677ec873a.zip
op-kernel-dev-6d07d01b62b2d81500803058f736b46677ec873a.tar.gz
checkpatch: add uart_ops to normally const structs
Add another struct to the list of normally const struct types Signed-off-by: Joe Perches <joe@perches.com> Cc: Andy Whitcroft <apw@shadowen.org> Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-xscripts/checkpatch.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 36d7e70..ea628eb 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -5339,6 +5339,7 @@ sub process {
stacktrace_ops|
sysfs_ops|
tty_operations|
+ uart_ops|
usb_mon_operations|
wd_ops}x;
if ($line !~ /\bconst\b/ &&
OpenPOWER on IntegriCloud