[PATCH] drm: armada: Constify drm_prop_enum_list structures.

2017-07-01 Thread Arvind Yadav
drm_prop_enum_lists are not supposed to change at runtime. All functions working with drm_prop_enum_list provided by work with const drm_prop_enum_list. So mark the non-const structs as const. File size before: textdata bss dec hex filename 3594 176 03770 e

[PATCH] drm: armada: constify drm_prop_enum_list structures.

2017-07-01 Thread Arvind Yadav
drm_prop_enum_lists are not supposed to change at runtime. All functions working with drm_prop_enum_list provided by work with const drm_prop_enum_list. So mark the non-const structs as const. File size before: textdata bss dec hex filename 9629 744 0 1037328