1
0
Fork 0
alistair23-linux/arch/arm/mach-prima2
Uwe Kleine-König 444d2d33d8 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 <jason@lakedameon.net>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-02-19 09:44:25 +01:00
..
Kconfig ARM: prima2: do not select SMP_ON_UP 2015-02-18 12:20:27 +01:00
Makefile ARM: sirf: move to debug_ll_io_init and drop map_io 2015-01-20 19:56:53 +08:00
Makefile.boot ARM: dtb: move all dtb targets to common Makefile 2012-09-20 22:58:17 -07:00
common.c ARM: make arrays containing machine compatible strings const 2015-02-19 09:44:17 +01:00
common.h ARM: sirf: drop redundant function and marco declaration 2015-02-06 00:31:58 -08:00
headsmp.S arm: delete __cpuinit/__CPUINIT usage from all ARM users 2013-07-14 19:36:52 -04:00
hotplug.c ARM: cpu hotplug: remove majority of cache flushing from platforms 2013-04-18 20:08:04 +01:00
platsmp.c ARM: make of_device_ids const 2015-02-19 09:44:25 +01:00
pm.c ARM: mach-prima2: drop owner assignment from platform_drivers 2014-10-20 16:20:05 +02:00
pm.h ARM: CSR: PM: add sleep entry for SiRFprimaII 2011-09-21 23:25:59 +08:00
rstc.c ARM: sirf: drop Marco support in reset controller module 2015-01-20 19:56:40 +08:00
rtciobrg.c ARM: sirf: drop Marco machine 2015-01-20 19:56:43 +08:00
sleep.S ARM: CSR: PM: add sleep entry for SiRFprimaII 2011-09-21 23:25:59 +08:00