[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdX2di4HBN0BzPQiaXJ6XVu8Poyxd3ULeKxfU3qbd_a92w@mail.gmail.com>
Date: Mon, 26 Jun 2017 10:11:10 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Arvind Yadav <arvind.yadav.cs@...il.com>
Cc: Simon Horman <horms@...ge.net.au>,
Bjorn Helgaas <bhelgaas@...gle.com>,
linux-pci <linux-pci@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Linux-Renesas <linux-renesas-soc@...r.kernel.org>
Subject: Re: [PATCH] PCI: rcar-gen2: make of_device_ids const
On Fri, Jun 23, 2017 at 11:29 AM, Arvind Yadav
<arvind.yadav.cs@...il.com> 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@...il.com>
Acked-by: Geert Uytterhoeven <geert+renesas@...der.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
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
Powered by blists - more mailing lists