mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 12:16:39 +07:00
8a63ca58f8
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 <arvind.yadav.cs@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/dbeb176765bda8eaa9efdaa2dcd14c7bbae39cfa.1498905467.git.arvind.yadav.cs@gmail.com |
||
---|---|---|
.. | ||
armada_510.c | ||
armada_crtc.c | ||
armada_crtc.h | ||
armada_debugfs.c | ||
armada_drm.h | ||
armada_drv.c | ||
armada_fb.c | ||
armada_fb.h | ||
armada_fbdev.c | ||
armada_gem.c | ||
armada_gem.h | ||
armada_hw.h | ||
armada_ioctlP.h | ||
armada_overlay.c | ||
armada_trace.c | ||
armada_trace.h | ||
Kconfig | ||
Makefile |