diff options
| author | Arvind Yadav <[email protected]> | 2017-07-23 15:31:08 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-07-30 07:35:28 -0700 |
| commit | 46d01710f621ee8efaa1fc12f54d49124bb477bd (patch) | |
| tree | 2d642381f9a97ccef178bc24fe471cdf19664302 /tools/perf/scripts/python | |
| parent | 0846b762c42d9654290f19a3b2e6248d6aca2b0a (diff) | |
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions