aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx2/clock_imx27.c
diff options
context:
space:
mode:
authorRabin Vincent <rabin@rab.in>2009-05-26 22:31:46 +0530
committerSascha Hauer <s.hauer@pengutronix.de>2009-06-03 11:51:06 +0200
commit6b4bfb87b638a4f114dfb6f72f4ac1be88a4ebe4 (patch)
tree1279ea9220d8a4d5d86b578b9a2883756a40968d /arch/arm/mach-mx2/clock_imx27.c
parentfix oops when using console=ttymxcN with N > 0 (diff)
downloadlinux-dev-6b4bfb87b638a4f114dfb6f72f4ac1be88a4ebe4.tar.xz
linux-dev-6b4bfb87b638a4f114dfb6f72f4ac1be88a4ebe4.zip
mx[23]: don't put clock lookups in __initdata
Remove the __initdata annotation for the clock lookups, since they will be needed when loading modules which use clk_get(). Tested-by: Agustín Ferrín Pozuelo <gatoguan-os@yahoo.com> Signed-off-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx2/clock_imx27.c')
-rw-r--r--arch/arm/mach-mx2/clock_imx27.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mx2/clock_imx27.c b/arch/arm/mach-mx2/clock_imx27.c
index 3f7280c490f0..2c971442f3f2 100644
--- a/arch/arm/mach-mx2/clock_imx27.c
+++ b/arch/arm/mach-mx2/clock_imx27.c
@@ -621,7 +621,7 @@ DEFINE_CLOCK1(csi_clk, 0, 0, 0, parent, &csi_clk1, &per4_clk);
.clk = &c, \
},
-static struct clk_lookup lookups[] __initdata = {
+static struct clk_lookup lookups[] = {
_REGISTER_CLOCK("imx-uart.0", NULL, uart1_clk)
_REGISTER_CLOCK("imx-uart.1", NULL, uart2_clk)
_REGISTER_CLOCK("imx-uart.2", NULL, uart3_clk)