Messages in this thread | | | Subject | Re: [PATCH 1/3] [media] coda: constify platform_device_id | From | Philipp Zabel <> | Date | Tue, 15 Aug 2017 13:35:00 +0200 |
| |
On Tue, 2017-08-15 at 16:53 +0530, Arvind Yadav wrote: > platform_device_id are not supposed to change at runtime. All > functions > working with platform_device_id provided by <linux/platform_device.h> > work with const platform_device_id. So mark the non-const structs as > const. > > Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
thanks Philipp
| |