summaryrefslogtreecommitdiff
path: root/include/linux/moduleloader.h
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-07-23 13:01:07 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-30 17:35:28 +0300
commit3637c46032515fe975f652d315ccd2076026c522 (patch)
treea1376c1a3992b59a05a26d96496dcc9a4838ae4f /include/linux/moduleloader.h
parent50bd842b32b4ef57fdf5381b428d1b5605f429ea (diff)
downloadlinux-3637c46032515fe975f652d315ccd2076026c522.tar.xz
tty: serial: exar: 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 4030 1280 0 5310 14be tty/serial/8250/8250_exar.o File size After adding 'const': text data bss dec hex filename 4958 352 0 5310 14be tty/serial/8250/8250_exar.o Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/moduleloader.h')
0 files changed, 0 insertions, 0 deletions