diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-07-03 21:53:54 +0530 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-08-03 16:39:37 +0200 |
commit | d95a8e7b2ac31029fd916711dff3bf9c562da700 (patch) | |
tree | 7205d753e1bcaeb619af650af470898f0b78eeac /drivers/clk/clk-conf.c | |
parent | 27a061fb161b684b1204eedb82f6f84ecc4a1485 (diff) | |
download | linux-d95a8e7b2ac31029fd916711dff3bf9c562da700.tar.gz |
drm/atmel-hlcdc : constify drm_plane_helper_funcs and drm_plane_funcs.
drm_plane_helper_funcs and drm_plane_funcsare not supposed to change
at runtime. All functions working with drm_plane_helper_funcs and
drm_plane_funcs work with const. So mark the non-const structs as const.
File size before:
text data bss dec hex filename
6072 596 0 6668 1a0c atmel_hlcdc_plane.o
File size After adding 'const':
text data bss dec hex filename
6218 436 0 6654 19fe atmel_hlcdc_plane.o
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Link: https://patchwork.freedesktop.org/patch/msgid/646415a3b2e62182f85254115e8491e5caf4b2c7.1499098826.git.arvind.yadav.cs@gmail.com
Diffstat (limited to 'drivers/clk/clk-conf.c')
0 files changed, 0 insertions, 0 deletions