aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArvind Yadav <[email protected]>2017-07-23 15:31:07 +0530
committerGreg Kroah-Hartman <[email protected]>2017-07-30 07:35:28 -0700
commit3637c46032515fe975f652d315ccd2076026c522 (patch)
treea1376c1a3992b59a05a26d96496dcc9a4838ae4f /tools/perf/scripts/python
parent50bd842b32b4ef57fdf5381b428d1b5605f429ea (diff)
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions