Re: [PATCH 2/3] [media] davinci: constify platform_device_id
From: Lad, Prabhakar
Date: Thu Aug 17 2017 - 09:18:16 EST
On Tue, Aug 15, 2017 at 12:23 PM, Arvind Yadav
<arvind.yadav.cs@xxxxxxxxx> 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@xxxxxxxxx>
Acked-by: Lad, Prabhakar <prabhakar.csengg@xxxxxxxxx>
Cheers,
--Prabhakar Lad