From: Imre Deak Date: Wed, 22 Apr 2009 12:40:48 +0000 (+0200) Subject: DSS2: VRAM: fix section mismatch warning X-Git-Tag: Release-2010-05/1~2^2~90 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=c77aa27696b8827b1f3b43aa20e699ef7bc12f08 DSS2: VRAM: fix section mismatch warning postponed_regions are accessed from the non __init omap_vram_add_region(). Signed-off-by: Imre Deak --- diff --git a/arch/arm/plat-omap/vram.c b/arch/arm/plat-omap/vram.c index e84757913f22..b126a6486b6f 100644 --- a/arch/arm/plat-omap/vram.c +++ b/arch/arm/plat-omap/vram.c @@ -63,11 +63,11 @@ #define MAX_POSTPONED_REGIONS 10 static bool vram_initialized; -static int postponed_cnt __initdata; +static int postponed_cnt; static struct { unsigned long paddr; size_t size; -} postponed_regions[MAX_POSTPONED_REGIONS] __initdata; +} postponed_regions[MAX_POSTPONED_REGIONS]; struct vram_alloc { struct list_head list;