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 | 61f9795991a6cce711126a4d0c8ee655574f9267 (patch) | |
| tree | f1551d5de8051fd5144c4fd884dcea409a1e04f8 /tools/perf/scripts/python/stackcollapse.py | |
| parent | e40bbded4903eff3cd6bec2d2cca40a226d1ace2 (diff) | |
video: fbdev: mb862xx: 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
7326 1320 0 8646 21c6 fbdev/mb862xx/mb862xxfbdrv.o
File size after adding 'const':
text data bss dec hex filename
7454 1192 0 8646 21c6 fbdev/mb862xx/mb862xxfbdrv.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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions