aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2015-04-16 12:44:33 -0700
committerLinus Torvalds <[email protected]>2015-04-17 09:03:58 -0400
commit6d07d01b62b2d81500803058f736b46677ec873a (patch)
treee511bf7972d2532a5a1776e32ccc76b8e90c8fd5
parent29a3c46673a5e3ee22feaba7020a280486c78f0a (diff)
checkpatch: add uart_ops to normally const structs
Add another struct to the list of normally const struct types Signed-off-by: Joe Perches <[email protected]> Cc: Andy Whitcroft <[email protected]> Cc: Maxime Coquelin <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Jiri Slaby <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rwxr-xr-xscripts/checkpatch.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 36d7e704af8f..ea628ebfa20e 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/ &&