diff options
| author | Arvind Yadav <[email protected]> | 2017-07-01 15:17:01 +0530 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-07-14 11:06:03 -0400 |
| commit | c4fc445a9ded54cfbe4fca6299c0fcb7dcd0b47b (patch) | |
| tree | 61775d9dbfe264e1416dba786ae15f0b433c04d8 /tools/perf/scripts/python/bin | |
| parent | 46886dbfbda2187adbe9028f4d0a190ce96200f1 (diff) | |
drm: radeon: constify drm_prop_enum_list structures.
drm_prop_enum_lists are not supposed to change at runtime. All functions
working with drm_prop_enum_list provided by <drm/drm_property.h> work with
const drm_prop_enum_list. So mark the non-const structs as const.
File size before:
text data bss dec hex filename
18276 384 0 18660 48e4 drivers/gpu/drm/radeon/radeon_display.o
File size After adding 'const':
text data bss dec hex filename
18660 0 0 18660 48e4 drivers/gpu/drm/radeon/radeon_display.o
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Arvind Yadav <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions