Commit 6b4bfb87b638a4f114dfb6f72f4ac1be88a4ebe4
Committed by
Sascha Hauer
1 parent
e76afc4e78
Exists in
master
and in
20 other branches
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>
Showing 4 changed files with 4 additions and 4 deletions Side-by-side Diff
arch/arm/mach-mx2/clock_imx21.c
... | ... | @@ -890,7 +890,7 @@ |
890 | 890 | .con_id = n, \ |
891 | 891 | .clk = &c, \ |
892 | 892 | }, |
893 | -static struct clk_lookup lookups[] __initdata = { | |
893 | +static struct clk_lookup lookups[] = { | |
894 | 894 | /* It's unlikely that any driver wants one of them directly: |
895 | 895 | _REGISTER_CLOCK(NULL, "ckih", ckih_clk) |
896 | 896 | _REGISTER_CLOCK(NULL, "ckil", ckil_clk) |
arch/arm/mach-mx2/clock_imx27.c
... | ... | @@ -621,7 +621,7 @@ |
621 | 621 | .clk = &c, \ |
622 | 622 | }, |
623 | 623 | |
624 | -static struct clk_lookup lookups[] __initdata = { | |
624 | +static struct clk_lookup lookups[] = { | |
625 | 625 | _REGISTER_CLOCK("imx-uart.0", NULL, uart1_clk) |
626 | 626 | _REGISTER_CLOCK("imx-uart.1", NULL, uart2_clk) |
627 | 627 | _REGISTER_CLOCK("imx-uart.2", NULL, uart3_clk) |
arch/arm/mach-mx3/clock-imx35.c
... | ... | @@ -404,7 +404,7 @@ |
404 | 404 | .clk = &c, \ |
405 | 405 | }, |
406 | 406 | |
407 | -static struct clk_lookup lookups[] __initdata = { | |
407 | +static struct clk_lookup lookups[] = { | |
408 | 408 | _REGISTER_CLOCK(NULL, "asrc", asrc_clk) |
409 | 409 | _REGISTER_CLOCK(NULL, "ata", ata_clk) |
410 | 410 | _REGISTER_CLOCK(NULL, "audmux", audmux_clk) |
arch/arm/mach-mx3/clock.c
... | ... | @@ -516,7 +516,7 @@ |
516 | 516 | .clk = &c, \ |
517 | 517 | }, |
518 | 518 | |
519 | -static struct clk_lookup lookups[] __initdata = { | |
519 | +static struct clk_lookup lookups[] = { | |
520 | 520 | _REGISTER_CLOCK(NULL, "emi", emi_clk) |
521 | 521 | _REGISTER_CLOCK(NULL, "cspi", cspi1_clk) |
522 | 522 | _REGISTER_CLOCK(NULL, "cspi", cspi2_clk) |