diff options
Diffstat (limited to 'meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0052-DSS2-VRAM-fix-section-mismatch-warning.patch')
-rw-r--r-- | meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0052-DSS2-VRAM-fix-section-mismatch-warning.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0052-DSS2-VRAM-fix-section-mismatch-warning.patch b/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0052-DSS2-VRAM-fix-section-mismatch-warning.patch new file mode 100644 index 0000000000..b8f89b6239 --- /dev/null +++ b/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0052-DSS2-VRAM-fix-section-mismatch-warning.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From 635fa66abe6e502c9b78b1dc66757bf67fd163e1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Imre Deak <imre.deak@nokia.com> | ||
3 | Date: Wed, 22 Apr 2009 14:40:48 +0200 | ||
4 | Subject: [PATCH] DSS2: VRAM: fix section mismatch warning | ||
5 | |||
6 | postponed_regions are accessed from the non __init | ||
7 | omap_vram_add_region(). | ||
8 | |||
9 | Signed-off-by: Imre Deak <imre.deak@nokia.com> | ||
10 | --- | ||
11 | arch/arm/plat-omap/vram.c | 4 ++-- | ||
12 | 1 files changed, 2 insertions(+), 2 deletions(-) | ||
13 | |||
14 | diff --git a/arch/arm/plat-omap/vram.c b/arch/arm/plat-omap/vram.c | ||
15 | index e847579..b126a64 100644 | ||
16 | --- a/arch/arm/plat-omap/vram.c | ||
17 | +++ b/arch/arm/plat-omap/vram.c | ||
18 | @@ -63,11 +63,11 @@ | ||
19 | #define MAX_POSTPONED_REGIONS 10 | ||
20 | |||
21 | static bool vram_initialized; | ||
22 | -static int postponed_cnt __initdata; | ||
23 | +static int postponed_cnt; | ||
24 | static struct { | ||
25 | unsigned long paddr; | ||
26 | size_t size; | ||
27 | -} postponed_regions[MAX_POSTPONED_REGIONS] __initdata; | ||
28 | +} postponed_regions[MAX_POSTPONED_REGIONS]; | ||
29 | |||
30 | struct vram_alloc { | ||
31 | struct list_head list; | ||
32 | -- | ||
33 | 1.5.6.5 | ||
34 | |||