DSS2: VRAM: fix section mismatch warning
authorImre Deak <imre.deak@nokia.com>
Wed, 22 Apr 2009 12:40:48 +0000 (14:40 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 1 May 2009 16:45:13 +0000 (19:45 +0300)
postponed_regions are accessed from the non __init
omap_vram_add_region().

Signed-off-by: Imre Deak <imre.deak@nokia.com>
arch/arm/plat-omap/vram.c

index e847579..b126a64 100644 (file)
 #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;