From: Marc Kleine-Budde Date: Thu, 21 Jun 2012 18:04:25 +0000 (+0200) Subject: clk: mxs: fix clock lookup after freeing init memory X-Git-Tag: v3.5-rc5~22^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d03ac61daa8d4d17cd83a5ab98e85b616b90c7ac;p=pandora-kernel.git 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 Signed-off-by: Shawn Guo Signed-off-by: Mike Turquette --- Reading git-diff-tree failed