linux_old1/arch/arm/mach-prima2
Uwe Kleine-König 543c5040f5 ARM: make arrays containing machine compatible strings const
The definition

	static const char *axxia_dt_match[] __initconst = {
		...

defines a changable array of constant strings. That is you must not do:

	*axxia_dt_match[0] = 'k';

but

	axxia_dt_match[0] = "different string";

is fine. So the annotation __initconst is wrong and yields a compiler
error when other really const variables are added with __initconst.

As the struct machine_desc member dt_compat is declared as

	const char *const *dt_compat;

making the arrays const is the better alternative over changing all
annotations to __initdata.

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:17 +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: sirf: move platsmp to support Atlas7 SoC 2015-01-20 19:56:48 +08: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