diff options
| author | Uwe Kleine-König <[email protected]> | 2015-02-18 20:19:56 +0000 |
|---|---|---|
| committer | Arnd Bergmann <[email protected]> | 2015-02-19 08:44:25 +0000 |
| commit | 444d2d33d8564f95df851ddaca80f640ca36934d (patch) | |
| tree | 2fa4198807c79f1e670f3f8a934786a203bcab09 /lib/string_helpers.c | |
| parent | ARM: make arrays containing machine compatible strings const (diff) | |
| download | kernel-444d2d33d8564f95df851ddaca80f640ca36934d.tar.gz kernel-444d2d33d8564f95df851ddaca80f640ca36934d.zip | |
ARM: make of_device_ids const
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.
While at it also add some __initconst annotations.
Acked-by: Jason Cooper <[email protected]>
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
