OpenCloudOS-Kernel/drivers/clk
Marc Kleine-Budde d03ac61daa clk: mxs: fix clock lookup after freeing init memory
The struct clk_lookup are marked as __initdata, resulting in being
removed from memory after the kernel finished booting. However this
leads to a NULL pointer de-ref if loading a module which uses clk_get.

This patch removes the __initdata from the struct clk_lookup.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
2012-06-25 16:51:48 -07:00
..
mxs clk: mxs: fix clock lookup after freeing init memory 2012-06-25 16:51:48 -07:00
spear clk: SPEAr600: Fix ethernet clock name for DT based probing 2012-06-25 16:51:47 -07:00
Kconfig clk: remove COMMON_CLK_DISABLE_UNUSED 2012-05-08 14:12:42 -07:00
Makefile Merge branch 'spear/clock' into next/clock 2012-05-13 00:11:06 +02:00
clk-divider.c clk: Use a separate struct for holding init data. 2012-05-01 18:13:20 -07:00
clk-fixed-factor.c clk: add a fixed factor clock 2012-05-08 14:13:25 -07:00
clk-fixed-rate.c clk: Use a separate struct for holding init data. 2012-05-01 18:13:20 -07:00
clk-gate.c clk: Use a separate struct for holding init data. 2012-05-01 18:13:20 -07:00
clk-mux.c clk: mux: assign init data 2012-05-08 14:13:07 -07:00
clk.c clk: Check parent for NULL in clk_change_rate 2012-06-25 16:51:48 -07:00
clkdev.c CLKDEV: provide helpers for common clock framework 2012-05-02 09:30:32 +01:00