diff options
author | 2012-06-21 20:04:25 +0200 | |
---|---|---|
committer | 2012-06-25 16:51:48 -0700 | |
commit | d03ac61daa8d4d17cd83a5ab98e85b616b90c7ac (patch) | |
tree | 80f412f46d6d37af196899f40877148ed4407aaa /lib/mpi/mpi-bit.c | |
parent | clk: mxs: fix ref_io clock definition (diff) | |
download | linux-dev-d03ac61daa8d4d17cd83a5ab98e85b616b90c7ac.tar.xz linux-dev-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 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions