diff options
author | 2017-07-15 09:55:46 +0530 | |
---|---|---|
committer | 2017-07-15 21:25:56 -0700 | |
commit | 0d41668987f5c0df5ad5b5e1e3bf69aaf4b36c52 (patch) | |
tree | 9248ba20679331b78518b219dc3938d03f297ba5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | isdn: eicon: constify pci_device_id. (diff) | |
download | linux-dev-0d41668987f5c0df5ad5b5e1e3bf69aaf4b36c52.tar.xz linux-dev-0d41668987f5c0df5ad5b5e1e3bf69aaf4b36c52.zip |
isdn: mISDN: netjet: 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
10941 1776 16 12733 31bd isdn/hardware/mISDN/netjet.o
File size After adding 'const':
text data bss dec hex filename
11005 1712 16 12733 31bd isdn/hardware/mISDN/netjet.o
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions