summaryrefslogtreecommitdiffstats
path: root/drivers/tty/hvc/hvc_opal.c
diff options
context:
space:
mode:
authorArvind Yadav2017-07-23 12:01:08 +0200
committerGreg Kroah-Hartman2017-07-30 16:35:28 +0200
commit46d01710f621ee8efaa1fc12f54d49124bb477bd (patch)
tree2d642381f9a97ccef178bc24fe471cdf19664302 /drivers/tty/hvc/hvc_opal.c
parenttty: synclink_gt: constify pci_device_id. (diff)
downloadkernel-qcow2-linux-46d01710f621ee8efaa1fc12f54d49124bb477bd.tar.gz
kernel-qcow2-linux-46d01710f621ee8efaa1fc12f54d49124bb477bd.tar.xz
kernel-qcow2-linux-46d01710f621ee8efaa1fc12f54d49124bb477bd.zip
tty: serial: jsm: constify pci_device_id.
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by <linux/pci.h> work with const pci_device_id. So mark the non-const structs as const. File size before: text data bss dec hex filename 2442 1088 8 3538 dd2 tty/serial/jsm/jsm_driver.o File size After adding 'const': text data bss dec hex filename 3082 448 8 3538 dd2 tty/serial/jsm/jsm_driver.o Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/hvc/hvc_opal.c')
0 files changed, 0 insertions, 0 deletions