linux/arch/arm/mach-bcm
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
..
bcm63xx.c
bcm_5301x.c
bcm_cygnus.c
bcm_kona_smc.c
bcm_kona_smc.h
board_bcm281xx.c
board_bcm2835.c
board_bcm21664.c
brcmstb.c ARM: make arrays containing machine compatible strings const 2015-02-19 09:44:17 +01:00
brcmstb.h
headsmp-brcmstb.S
Kconfig ARM: BCM: put back ARCH_MULTI_V7 dependency for mobile 2015-02-18 12:20:08 +01:00
kona_l2_cache.c
kona_l2_cache.h
kona_smp.c
Makefile Merge tag 'arm-soc/for-3.19/cygnus-platform-v2' of http://github.com/brcm/linux into next/soc 2014-11-20 13:05:39 +01:00
platsmp-brcmstb.c ARM: brcmstb: update CPU power management sequence 2015-01-12 14:59:29 -08:00