aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/tty/serdev
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-07-23 15:31:08 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-30 07:35:28 -0700
commit46d01710f621ee8efaa1fc12f54d49124bb477bd (patch)
tree2d642381f9a97ccef178bc24fe471cdf19664302 /drivers/tty/serdev
parenttty: synclink_gt: constify pci_device_id. (diff)
downloadwireguard-linux-46d01710f621ee8efaa1fc12f54d49124bb477bd.tar.xz
wireguard-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/serdev')
0 files changed, 0 insertions, 0 deletions