diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-06-21 20:04:25 +0200 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-06-25 16:51:48 -0700 |
commit | d03ac61daa8d4d17cd83a5ab98e85b616b90c7ac (patch) | |
tree | 80f412f46d6d37af196899f40877148ed4407aaa /Documentation/circular-buffers.txt | |
parent | d6dc55c1857ff1911780881b74537785d8a4e6e1 (diff) | |
download | linux-d03ac61daa8d4d17cd83a5ab98e85b616b90c7ac.tar.gz linux-d03ac61daa8d4d17cd83a5ab98e85b616b90c7ac.tar.bz2 linux-d03ac61daa8d4d17cd83a5ab98e85b616b90c7ac.zip |
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>
Diffstat (limited to 'Documentation/circular-buffers.txt')
0 files changed, 0 insertions, 0 deletions