Skip to content

Commit

Permalink
checkpatch: add uart_ops to normally const structs
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
JoePerches authored and torvalds committed Apr 17, 2015
1 parent 29a3c46 commit 6d07d01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -5339,6 +5339,7 @@ sub process {
stacktrace_ops|
sysfs_ops|
tty_operations|
uart_ops|
usb_mon_operations|
wd_ops}x;
if ($line !~ /\bconst\b/ &&
Expand Down

0 comments on commit 6d07d01

Please sign in to comment.