Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1674519

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

From Geert Uytterhoeven <geert@linux-m68k.org>
Newsgroups linux.kernel
Subject Re: [PATCH] PCI: rcar-gen2: make of_device_ids const
Date 2017-06-26 10:20 +0200
Message-ID <tWxpw-8ko-9@gated-at.bofh.it> (permalink)
References <tVtej-oa-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Jun 23, 2017 at 11:29 AM, Arvind Yadav
<arvind.yadav.cs@gmail.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@gmail.com>

Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] PCI: rcar-gen2: make of_device_ids const Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-06-23 11:40 +0200
  Re: [PATCH] PCI: rcar-gen2: make of_device_ids const Simon Horman <horms@verge.net.au> - 2017-06-23 11:50 +0200
  Re: [PATCH] PCI: rcar-gen2: make of_device_ids const Geert Uytterhoeven <geert@linux-m68k.org> - 2017-06-26 10:20 +0200
  Re: [PATCH] PCI: rcar-gen2: make of_device_ids const Bjorn Helgaas <helgaas@kernel.org> - 2017-07-02 23:50 +0200

csiph-web