[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdbmyvaJ9b-Wxx_-_8Sb0ZA15B8p1y03N_d2He18h3nHJQ@mail.gmail.com>
Date: Thu, 29 Jun 2017 14:56:57 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Arvind Yadav <arvind.yadav.cs@...il.com>
Cc: "linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] pinctrl: freescale: imx7d: make of_device_ids const.
On Tue, Jun 27, 2017 at 1:55 PM, 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>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists