ARM: cygnus: fix const declaration bcm_cygnus_dt_compat
authorStefan Agner <stefan@agner.ch>
Sat, 21 Mar 2015 23:45:35 +0000 (00:45 +0100)
committerFlorian Fainelli <f.fainelli@gmail.com>
Tue, 24 Mar 2015 22:13:23 +0000 (15:13 -0700)
commit3213e674ca42c95b84ed040eab3d5722f41412ae
treee85e3727de363b2d28acb7e417e320328f8f5c85
parentc517d838eb7d07bbe9507871fab3931deccff539
ARM: cygnus: fix const declaration bcm_cygnus_dt_compat

The const declaration for char* is actually duplicated, however
the array of strings is currently not constant. However, typically
the dt_compat array is declared as const char *const. Follow
that convention and also add the __initconst macro for constant
initialization data.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Scott Branden <sbranden@broadcom.com>
Reviewed-by: Ray Jui <rjui@broadcom.com>
Tested-by: Ray Jui <rjui@broadcom.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/mach-bcm/bcm_cygnus.c