Thread (1 message) 1 message, 1 author, 2014-09-10

[PATCH 2/3] ARM: make of_device_ids const

From: Jason Cooper <hidden>
Date: 2014-09-10 15:17:43
Also in: linux-devicetree

Uwe,

On Wed, Sep 10, 2014 at 10:26:18AM +0200, Uwe Kleine-K?nig 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. So mark the
non-const structs in arch/arm as const, too.

Signed-off-by: Uwe Kleine-K?nig <redacted>
---
...
 arch/arm/mach-mvebu/coherency.c          | 2 +-
 arch/arm/mach-mvebu/pmsu.c               | 2 +-
For the mvebu stuff,

Acked-by: Jason Cooper <redacted>

thx,

Jason.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help