From: Joe Perches Date: Thu, 16 Apr 2015 19:44:33 +0000 (-0700) Subject: checkpatch: add uart_ops to normally const structs X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=6d07d01b62b2d81500803058f736b46677ec873a;p=deliverable%2Flinux.git checkpatch: add uart_ops to normally const structs Add another struct to the list of normally const struct types Signed-off-by: Joe Perches Cc: Andy Whitcroft Cc: Maxime Coquelin Cc: Greg Kroah-Hartman Cc: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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/ &&