drm: radeon: constify drm_prop_enum_list structures.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sat, 1 Jul 2017 09:47:01 +0000 (15:17 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jul 2017 15:06:03 +0000 (11:06 -0400)
commitc4fc445a9ded54cfbe4fca6299c0fcb7dcd0b47b
tree61775d9dbfe264e1416dba786ae15f0b433c04d8
parent46886dbfbda2187adbe9028f4d0a190ce96200f1
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 <christian.koenig@amd.com>
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_display.c