diff options
| author | Arvind Yadav <[email protected]> | 2017-07-16 15:02:33 +0530 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-07-16 16:38:02 -0700 |
| commit | 5c007845029d1e03df765f8fb2af0a0b8f5126b9 (patch) | |
| tree | 1c340714c0ba6e63dbd8def69e3cea3f9b8c5cbd /tools/perf/scripts/python/stackcollapse.py | |
| parent | 2f3e2604fb579e34f775c799eba2afdfcb97fd66 (diff) | |
atm: he: 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
26514 440 48 27002 697a drivers/atm/he.o
File size After adding 'const':
text data bss dec hex filename
26578 376 48 27002 697a drivers/atm/he.o
Signed-off-by: Arvind Yadav <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions