linux/drivers/clk/pxa
Uwe Kleine-König 692d8328e8 clk: don't use __initconst for non-const arrays
The statement

	static const char *name[];

defines a modifiable array of pointers to constant chars. That is

	*name[0] = 'f';

is forbidden, but

	name[0] = "f";

is not. So marking an array that is defined as above with __initconst is
wrong. Either an additional const must be added such that the whole
definition reads:

	static const char *const name[] __initconst;

or where this is not possible __initdata must be used.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
2015-04-12 17:18:27 -07:00
..
clk-pxa3xx.c clk: pxa: pxa3xx: add missing os timer clock 2015-04-10 13:35:56 -07:00
clk-pxa25x.c clk: add pxa25x clock drivers 2014-11-17 11:20:55 -08:00
clk-pxa27x.c Merge branch 'clk-fixes' into clk-next 2014-11-24 17:45:33 -08:00
clk-pxa.c clk: Replace explicit clk assignment with __clk_hw_set_clk 2015-02-18 09:40:11 -08:00
clk-pxa.h clk: don't use __initconst for non-const arrays 2015-04-12 17:18:27 -07:00
Makefile clk: pxa: add pxa3xx clock driver 2015-01-27 17:03:52 -08:00