1
0
Fork 0
alistair23-linux/drivers/clk/ti
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 clk: omap: compile legacy omap3 clocks conditionally 2015-02-03 11:06:11 -08:00
apll.c clk: ti: fix ti_clk_get_reg_addr error handling 2015-03-24 20:23:36 +02:00
autoidle.c clk: ti: fix ti_clk_get_reg_addr error handling 2015-03-24 20:23:36 +02:00
clk-2xxx.c ARM: OMAP2: clock: add DT boot support for cpufreq_ck 2014-05-28 13:05:57 +03:00
clk-3xxx-legacy.c clk: ti: clk-3xxx-legacy: Correct McBSP related clock aliases 2015-03-24 20:23:50 +02:00
clk-3xxx.c clk: ti: clk-3xxx: Correct McBSP related DT clock definitions 2015-03-24 20:23:50 +02:00
clk-7xx.c clk: ti: DRA7: Add timer_sys_ck aliases for Timers 13 through 16 2015-03-24 20:23:51 +02:00
clk-33xx.c clk: ti: am335x: remove unecessary cpu0 clk node 2014-02-24 22:56:38 -08:00
clk-43xx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-06-12 14:27:40 -07:00
clk-44xx.c clk: ti: OMAP4: Remove the legacy timer DT clock aliases 2015-03-24 20:23:50 +02:00
clk-54xx.c clk: ti: OMAP5: Correct the DT clock aliases for timers 2015-03-24 20:23:50 +02:00
clk-816x.c clk: ti: Initialize clocks for dm816x 2015-01-20 10:09:08 -08:00
clk-dra7-atl.c clk: constify of_device_id array 2015-04-01 10:59:27 -07:00
clk.c clk: ti: fix ti_clk_get_reg_addr error handling 2015-03-24 20:23:36 +02:00
clock.h clk: ti: composite: add support for legacy composite clock init 2015-01-30 10:55:15 -08:00
clockdomain.c clk: constify of_device_id array 2015-04-01 10:59:27 -07:00
composite.c clk: don't use __initconst for non-const arrays 2015-04-12 17:18:27 -07:00
divider.c clk: ti: fix ti_clk_get_reg_addr error handling 2015-03-24 20:23:36 +02:00
dpll.c clk: ti: fix ti_clk_get_reg_addr error handling 2015-03-24 20:23:36 +02:00
fapll.c Merge branch 'for-4.1-clk-ti' of github.com:t-kristo/linux-pm into clk-next 2015-03-24 16:47:43 -07:00
fixed-factor.c clk: ti: add support for TI fixed factor clock 2014-01-17 12:35:07 -08:00
gate.c clk: ti: fix ti_clk_get_reg_addr error handling 2015-03-24 20:23:36 +02:00
interface.c clk: ti: fix ti_clk_get_reg_addr error handling 2015-03-24 20:23:36 +02:00
mux.c clk: ti: fix ti_clk_get_reg_addr error handling 2015-03-24 20:23:36 +02:00