diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-06-20 08:14:33 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-06-21 10:06:44 +0300 |
commit | 85909716621702c777de512377fe952fb5677aec (patch) | |
tree | 07461fe91e9d814bbf58768a65fb906ba4542773 /drivers/gpu/drm/atmel-hlcdc | |
parent | d0a2987866b6cc1acd3ed37f9cd52e5c8dced005 (diff) | |
download | linux-85909716621702c777de512377fe952fb5677aec.tar.xz |
drm: armada: make of_device_ids const.
of_device_ids are not supposed to change at runtime. All functions
working with of_device_ids provided by <linux/of.h> work with const
of_device_ids. So mark the non-const structs as const.
File size before:
text data bss dec hex filename
8836 744 0 9580 256c drivers/gpu/drm/armada/armada_crtc.o
File size after constify armada_lcd_of_match:
text data bss dec hex filename
9220 328 0 9548 254c 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/ff9a9a908cf347775ab62cfadfde986de72dcf13.1497935382.git.arvind.yadav.cs@gmail.com
Diffstat (limited to 'drivers/gpu/drm/atmel-hlcdc')
0 files changed, 0 insertions, 0 deletions