Re: [PATCH] pinctrl: freescale: imx7d: make of_device_ids const.

From: Linus Walleij
Date: Thu Jun 29 2017 - 08:57:13 EST


On Tue, Jun 27, 2017 at 1:55 PM, Arvind Yadav <arvind.yadav.cs@xxxxxxxxx> wrote:

> 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.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@xxxxxxxxx>

Patch applied.

Yours,
Linus Walleij