linux/arch/arm/mach-omap2
Uwe Kleine-König 58cda01ed1 ARM: omap2: make arrays containing machine compatible strings const
The definition

	static const char *omap3_boards_compat[] __initconst = {

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

	*omap3_boards_compat[0] = 'f';

but

	omap3_boards_compat[0] = "another 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: Tony Lindgren <tony@atomide.com>
2014-09-11 12:34:36 -07:00
..
2013-06-12 08:00:35 -07:00
2014-02-25 11:33:37 +00:00
2014-06-11 14:06:55 -07:00
2013-02-21 14:58:40 -08:00
2012-12-24 09:36:38 -07:00
2013-01-11 11:24:18 -08:00
2013-01-11 11:24:18 -08:00
2014-01-17 12:35:48 -08:00
2014-08-08 11:16:58 -07:00
2014-08-08 11:16:58 -07:00
2013-05-02 09:03:55 -07:00
2014-03-19 10:52:23 +02:00
2013-01-11 11:24:18 -08:00
2013-02-21 15:27:22 -08:00
2013-02-21 15:27:22 -08:00
2014-08-08 11:16:58 -07:00
2014-07-23 00:51:30 +02:00
2012-09-20 15:03:59 -07:00
2012-09-20 15:04:00 -07:00
2012-09-20 15:04:01 -07:00
2012-09-20 15:04:03 -07:00
2014-08-08 11:16:58 -07:00
2013-05-08 17:07:40 -07:00
2013-10-13 22:48:46 -06:00
2013-01-11 11:24:18 -08:00
2013-01-11 11:24:18 -08:00
2014-08-08 11:16:58 -07:00
2012-10-18 16:23:20 -07:00
2014-06-02 16:14:07 -07:00
2013-08-16 09:39:56 -07:00
2014-06-02 16:15:12 -07:00