Re: [PATCH] drm: sti: sti_hqvdp: make of_device_ids const.

2017-06-20 Thread Benjamin Gaignard
2017-06-20 7:05 GMT+02:00 Arvind Yadav : > of_device_ids are not supposed to change at runtime. All functions > working with of_device_ids provided by work with const > of_device_ids. So mark the non-const structs as const. > > File size before: >textdata bss dec hex filename >

[PATCH] drm: sti: sti_hqvdp: make of_device_ids const.

2017-06-19 Thread Arvind Yadav
of_device_ids are not supposed to change at runtime. All functions working with of_device_ids provided by work with const of_device_ids. So mark the non-const structs as const. File size before: textdata bss dec hex filename 15845 640 0 164854065 drivers/gpu/d