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 <jason@lakedameon.net> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| keystone.c | ||
| keystone.h | ||
| Makefile | ||
| Makefile.boot | ||
| memory.h | ||
| platsmp.c | ||
| pm_domain.c | ||
| smc.S | ||