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


Groups > linux.kernel > #1677737

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

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] pinctrl: freescale: imx7d: make of_device_ids const.
Date 2017-06-29 15:00 +0200
Message-ID <tXHd9-7Io-49@gated-at.bofh.it> (permalink)
References <tWXjY-8qo-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jun 27, 2017 at 1:55 PM, 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>

Patch applied.

Yours,
Linus Walleij

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


Thread

[PATCH] pinctrl: freescale: imx7d: make of_device_ids const. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-06-27 14:00 +0200
  Re: [PATCH] pinctrl: freescale: imx7d: make of_device_ids const. Linus Walleij <linus.walleij@linaro.org> - 2017-06-29 15:00 +0200

csiph-web