diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-07-01 15:30:15 +0530 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-07-03 10:07:38 +0200 |
commit | aaaf2f12999a416514368e32853fb13f745e27fc (patch) | |
tree | fb3690461a14f156275c115cefe6c2d3cca7d1b1 /drivers/watchdog/ts72xx_wdt.c | |
parent | fef9df8b594531a4257b6a3bf7e190570c17be29 (diff) |
drm: armada: 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
9629 744 0 10373 2885 drivers/gpu/drm/armada/armada_crtc.o
File size After adding 'const':
text data bss dec hex filename
9757 616 0 10373 2885 drivers/gpu/drm/armada/armada_crtc.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/d2344c4dc40238cfe48fa6d917767df0f053150a.1498902844.git.arvind.yadav.cs@gmail.com
Diffstat (limited to 'drivers/watchdog/ts72xx_wdt.c')
0 files changed, 0 insertions, 0 deletions