linux_dsm_epyc7002/drivers/clk/mxs
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-div.c clk: mxs: add mxs specific clocks 2012-05-09 00:02:35 +08:00
clk-frac.c clk: mxs: add mxs specific clocks 2012-05-09 00:02:35 +08:00
clk-imx23.c clk: don't use __initconst for non-const arrays 2015-04-12 17:18:27 -07:00
clk-imx28.c clk: don't use __initconst for non-const arrays 2015-04-12 17:18:27 -07:00
clk-pll.c clk: mxs: add mxs specific clocks 2012-05-09 00:02:35 +08:00
clk-ref.c clk: mxs: add mxs specific clocks 2012-05-09 00:02:35 +08:00
clk-ssp.c mmc: spi: Pull out the SSP clock configuration function 2012-08-17 22:53:00 +01:00
clk.c clk: mxs: Fix sparse warnings 2013-03-19 12:58:41 -07:00
clk.h clk: add CLK_SET_RATE_NO_REPARENT flag 2013-08-19 12:27:17 -07:00
Makefile mmc: spi: Pull out the SSP clock configuration function 2012-08-17 22:53:00 +01:00