diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-07-03 21:35:20 +0530 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-07-17 08:21:33 +0200 |
commit | 934d1431929bb5ecde68fb38fe4b2a6f4ab0fba6 (patch) | |
tree | adfe12dc89d87f829a1d0055e16f86040ce0a58e /drivers/gpu/drm/drm_scdc_helper.c | |
parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff) | |
download | linux-934d1431929bb5ecde68fb38fe4b2a6f4ab0fba6.tar.gz |
drm/sun4i: constify drm_plane_helper_funcs
drm_plane_helper_funcs are not supposed to change at runtime.
All functions working with drm_plane_helper_funcs provided by
<drm/drm_plane_helper.h> work with const drm_plane_helper_funcs.
So mark the non-const structs as const.
File size before:
text data bss dec hex filename
981 40 0 1021 3fd drivers/gpu/drm/sun4i/sun4i_layer.o
File size After adding 'const':
text data bss dec hex filename
1021 0 0 1021 3fd drivers/gpu/drm/sun4i/sun4i_layer.o
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/gpu/drm/drm_scdc_helper.c')
0 files changed, 0 insertions, 0 deletions