Thread (3 messages) 3 messages, 2 authors, 2015-04-09

[PATCH v2] pinctrl: make of_device_ids const

From: Linus Walleij <hidden>
Date: 2015-04-07 09:09:58
Also in: linux-gpio

On Thu, Mar 26, 2015 at 11:00 PM, Uwe Kleine-K?nig
[off-list ref] 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 <redacted>
I already have a patch like this from Fabian Frederick in my
devel branch.

If some instances were missed by that patch please correct these
and send a patch on top of my devel branch.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help