Re: [PATCH] PCI: rcar-gen2: make of_device_ids const

From: Geert Uytterhoeven
Date: Mon Jun 26 2017 - 04:11:27 EST


On Fri, Jun 23, 2017 at 11:29 AM, 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>

Acked-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds