Skip to content
Commit 9b11769f authored by Cory Maccarrone's avatar Cory Maccarrone Committed by Paul Walmsley
Browse files

OMAP1 clock: remove __initdata from struct clk_functions to prevent crash

Commit 52650505

 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: default avatarCory Maccarrone <darkstar6262@gmail.com>
[paul@pwsan.com: patch manually split and commit message edited]
Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
parent e8ae6b6e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment