summaryrefslogtreecommitdiff
path: root/net/ipx
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-07-01 12:47:01 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-07-14 18:06:03 +0300
commitc4fc445a9ded54cfbe4fca6299c0fcb7dcd0b47b (patch)
tree61775d9dbfe264e1416dba786ae15f0b433c04d8 /net/ipx
parent46886dbfbda2187adbe9028f4d0a190ce96200f1 (diff)
downloadlinux-c4fc445a9ded54cfbe4fca6299c0fcb7dcd0b47b.tar.xz
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>
Diffstat (limited to 'net/ipx')
0 files changed, 0 insertions, 0 deletions