diff options
| author | Arvind Yadav <[email protected]> | 2017-07-06 12:40:45 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-07-19 16:24:34 -0400 |
| commit | 3f9ae4b978759d0af56fe89b2b82e1d827684675 (patch) | |
| tree | fe87f6010862e5c641c0b349a267190bcc27d702 /tools/perf/scripts/python | |
| parent | 02cc60ca0c7598c015d3e6b1bde6257c613299e1 (diff) | |
media: staging: atomisp: mt9m114: constify acpi_device_id
acpi_device_id are not supposed to change at runtime. All functions
working with acpi_device_id provided by <acpi/acpi_bus.h> work with
const acpi_device_id. So mark the non-const structs as const.
File size before:
text data bss dec hex filename
15148 2640 8 17796 4584
drivers/staging/media/atomisp/i2c/mt9m114.o
File size After adding 'const':
text data bss dec hex filename
15244 2512 8 17764 4564
drivers/staging/media/atomisp/i2c/mt9m114.o
Signed-off-by: Arvind Yadav <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions