OpenCloudOS-Kernel/drivers/clk/zynq
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
..
Makefile arm: zynq: Migrate platform to clock controller 2013-05-27 09:21:22 +02:00
clkc.c clk: don't use __initconst for non-const arrays 2015-04-12 17:18:27 -07:00
pll.c clk: zynq: Remove unnecessary OOM message 2014-09-09 12:18:20 -07:00