From: Cory Maccarrone Date: Wed, 6 Jan 2010 20:13:51 +0000 (-0700) Subject: OMAP1 clock: remove __initdata from struct clk_functions to prevent crash X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3005459f467e6875d1d6e68f19e641a8be60d83;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