diff options
| author | Arvind Yadav <[email protected]> | 2017-07-01 16:24:42 +0530 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2017-07-03 10:07:43 +0200 |
| commit | 8a63ca58f879f7ac40fac5af0bc1b37393ad18ea (patch) | |
| tree | bf76d6a24feee19b3524240cf06951475544ff9b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | aaaf2f12999a416514368e32853fb13f745e27fc (diff) | |
drm: armada: 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
3594 176 0 3770 eba drivers/gpu/drm/armada/armada_overlay.o
File size After adding 'const':
text data bss dec hex filename
3722 48 0 3770 eba drivers/gpu/drm/armada/armada_overlay.o
Signed-off-by: Arvind Yadav <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/dbeb176765bda8eaa9efdaa2dcd14c7bbae39cfa.1498905467.git.arvind.yadav.cs@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions