[PATCH] pinctrl: make of_device_ids const

Linus Walleij linus.walleij at linaro.org
Thu Sep 11 06:07:55 PDT 2014


On Wed, Sep 10, 2014 at 10:20 PM, Uwe Kleine-König
<u.kleine-koenig at pengutronix.de> wrote:

> of_device_ids (i.e. compatible strings and the respective data) 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. This allows to
> mark all struct of_device_id below drivers/pinctrl const, too.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Sorry! This low-hanging fruit was already picked by Kiran by an
identical patch (split across sevaral sub-patches, that I squashed
into one), check linux-next to see if there are any leftovers for you to pick...

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list