linux/drivers/clk/rockchip
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-cpu.c clk: rockchip: fix deadlock possibility in cpuclk 2015-01-17 11:22:39 -08:00
clk-mmc-phase.c clk: rockchip: Add support for the mmc clock phases using the framework 2014-11-28 00:44:24 +01:00
clk-pll.c clk: rockchip: add optional sync to pll rate parameters 2014-11-25 09:57:18 +01:00
clk-rk3188.c clk: don't use __initconst for non-const arrays 2015-04-12 17:18:27 -07:00
clk-rk3288.c clk: don't use __initconst for non-const arrays 2015-04-12 17:18:27 -07:00
clk-rockchip.c clk: rockchip: fix function type for CLK_OF_DECLARE 2014-05-20 14:25:22 -05:00
clk.c clk: don't use __initconst for non-const arrays 2015-04-12 17:18:27 -07:00
clk.h clk: don't use __initconst for non-const arrays 2015-04-12 17:18:27 -07:00
Makefile clk: rockchip: Add support for the mmc clock phases using the framework 2014-11-28 00:44:24 +01:00
softrst.c clk: rockchip: add reset controller 2014-07-13 12:17:07 -07:00