OMAP1 clock: remove __initdata from struct clk_functions to prevent crash

Commit 52650505fb 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>
This commit is contained in:
Cory Maccarrone 2010-01-08 15:23:14 -07:00 • committed by Paul Walmsley
commit 9b11769f99