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 | 7c2ab2ae510e3d9ea32757aeb649dbc90ef6e053 (patch) | |
| tree | 3e34472afcdc01547f59bf8ce3ddbec5db74b8da /tools/perf/scripts/python | |
| parent | 410bcc7a5800d116168571e5aeb7f4c77dd3c31e (diff) | |
video: fbdev: sunxvr500: 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
170 488 0 658 292 drivers/video/fbdev/sunxvr500.o
File size after adding 'const':
text data bss dec hex filename
394 264 0 658 292 drivers/video/fbdev/sunxvr500.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')
0 files changed, 0 insertions, 0 deletions