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 ARM: BCM63XX: add basic support for the Broadcom BCM63138 DSL SoC 2014-09-17 10:56:06 -07:00
bcm_5301x.c ARM: l2c: bcm_5301x: convert to generic l2c OF initialisation 2014-05-30 00:49:04 +01:00
bcm_cygnus.c ARM: cygnus: Initial support for Broadcom Cygnus SoC 2014-11-11 22:35:35 -08:00
bcm_kona_smc.c ARM: bcm: rewrite commentary for bcm_kona_do_smc() 2014-04-25 08:51:37 -04:00
bcm_kona_smc.h ARM: bcm: use inline assembly for "smc" request 2014-04-25 08:51:36 -04:00
board_bcm281xx.c platform: Remove most references to platform_bus device 2014-07-23 19:09:03 -07:00
board_bcm2835.c ARM: bcm2835: Move to mach-bcm directory 2014-02-24 19:42:35 -07:00
board_bcm21664.c platform: Remove most references to platform_bus device 2014-07-23 19:09:03 -07:00
brcmstb.c ARM: make arrays containing machine compatible strings const 2015-02-19 09:44:17 +01:00
brcmstb.h ARM: brcmstb: reintroduce SMP support 2014-10-20 12:44:40 -07:00
headsmp-brcmstb.S ARM: brcmstb: reintroduce SMP support 2014-10-20 12:44:40 -07:00
Kconfig ARM: BCM: put back ARCH_MULTI_V7 dependency for mobile 2015-02-18 12:20:08 +01:00
kona_l2_cache.c ARM: bcm: rename "kona.h" and "kona.c" 2014-04-25 08:51:38 -04:00
kona_l2_cache.h ARM: bcm: rename "kona.h" and "kona.c" 2014-04-25 08:51:38 -04:00
kona_smp.c ARM: add SMP support for Broadcom mobile SoCs 2014-07-28 09:42:24 -04:00
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