[PATCH 03/27] omap2 clock: mark onchip_clksas __initdata

Paul Walmsley
2007-08-27T08:38:59Z

[-- Attachment #1: mark_onchip_clks_initdata.patch --]
[-- Type: text/plain, Size: 719 bytes --]

The onchip_clks array is only used during init, so, mark it __initdata.

Signed-off-by: Paul Walmsley <paul@pwsan.com>

---
arch/arm/mach-omap2/clock.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-omap/arch/arm/mach-omap2/clock.h
Index: linux-omap/arch/arm/mach-omap2/clock.h
===================================================================
--- linux-omap.orig/arch/arm/mach-omap2/clock.h
+++ linux-omap/arch/arm/mach-omap2/clock.h
@@ -1988,7 +1988,7 @@ static struct clk virt_prcm_set = {
.round_rate = &omap2_round_to_table_rate,
};

-static struct clk *onchip_clks[] = {
+static struct clk *onchip_clks[] __initdata = {
/* external root sources */
&func_32k_ck,
&osc_ck,

--