From: Cory Maccarrone Date: Fri, 8 Jan 2010 22:23:14 +0000 (-0700) Subject: OMAP1 clock: remove __initdata from struct clk_functions to prevent crash X-Git-Tag: v2.6.33-rc4~20^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b11769f998e138cbc89ba822316aa3e63912856;p=pandora-kernel.git OMAP1 clock: remove __initdata from struct clk_functions to prevent crash Commit 52650505fbf3a6ab851c801f54e73e76c55ab8da added an __initdata decoration to the structure containing the clk_enable and clk_disable functions. Once init data was freed, these pointers went to null, and the next enable or disable call caused the kernel to crash. This change removes this decoration. Signed-off-by: Cory Maccarrone [paul@pwsan.com: patch manually split and commit message edited] Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed