[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+V-a8vQ9XqVoUNx+Wc0UcJ+RthNk3JGDrCCY8xtJCG08f1v3Q@mail.gmail.com>
Date: Thu, 17 Aug 2017 14:17:41 +0100
From: "Lad, Prabhakar" <prabhakar.csengg@...il.com>
To: Arvind Yadav <arvind.yadav.cs@...il.com>
Cc: Philipp Zabel <p.zabel@...gutronix.de>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
LKML <linux-kernel@...r.kernel.org>,
linux-media <linux-media@...r.kernel.org>
Subject: Re: [PATCH 2/3] [media] davinci: constify platform_device_id
On Tue, Aug 15, 2017 at 12:23 PM, Arvind Yadav
<arvind.yadav.cs@...il.com> 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@...il.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@...il.com>
Cheers,
--Prabhakar Lad
Powered by blists - more mailing lists