diff options
| author | Arvind Yadav <[email protected]> | 2017-08-01 17:20:43 +0200 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2017-08-01 17:20:43 +0200 |
| commit | e40bbded4903eff3cd6bec2d2cca40a226d1ace2 (patch) | |
| tree | 66fab6c52ab7957355a1c2330bcbd1294e05ddee /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 347088c23f5f6153011083dbe283d74d89e796f6 (diff) | |
video: fbdev: nvidia: 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
12149 768 36 12953 3299 video/fbdev/nvidia/nvidia.o
File size after adding 'const':
text data bss dec hex filename
12213 704 36 12953 3299 video/fbdev/nvidia/nvidia.o
Signed-off-by: Arvind Yadav <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Antonino Daplas <[email protected]>
Cc: Maik Broemme <[email protected]>
Cc: Florian Tobias Schandinat <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions