]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP1 clock: remove __initdata from struct clk_functions to prevent crash
authorCory Maccarrone <darkstar6262@gmail.com>
Fri, 8 Jan 2010 22:23:14 +0000 (15:23 -0700)
committerPaul Walmsley <paul@pwsan.com>
Fri, 8 Jan 2010 22:23:14 +0000 (15:23 -0700)
commitccc3750ec06b44906f950be954caa4c7a5ee007e
treec37639a490e5166c513efd9e272593bedd336502
parent815349400308cc409db042f92317b560488004e5
OMAP1 clock: remove __initdata from struct clk_functions to prevent crash

Commit c8d35a52ae66414a66145d0e803fd14a2b70306f 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 <darkstar6262@gmail.com>
[paul@pwsan.com: patch manually split and commit message edited]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap1/clock_data.c