Re: [PATCH] drm: radeon: constify drm_prop_enum_list structures.

2017-07-03 Thread Christian König
Am 01.07.2017 um 11:47 schrieb 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: text data bss dec

[PATCH] drm: radeon: constify drm_prop_enum_list structures.

2017-07-02 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 18276 384 0 1866048