diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-09-02 04:03:40 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-10-22 16:21:02 -0400 |
commit | 9dbb7a5da96ed864f8b92297258ba73c6325d755 (patch) | |
tree | 887ab38614da2267f4852126d917debd0185b3d9 /arch/arm | |
parent | e92840b704a2be44599e36f84ad3ae5d68363a21 (diff) |
ARM: omap/fb: move get_fbmem_region() to .init.text
get_fbmem_region() is only called by omapfb_reserve_sdram_memblock() and
omapfb_reserve_sram() that both live in .init.text. So get_fbmem_region
can go there, too.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/plat-omap/fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c index 72a36ca8609a..fffc1a0b78a7 100644 --- a/arch/arm/plat-omap/fb.c +++ b/arch/arm/plat-omap/fb.c | |||
@@ -94,7 +94,7 @@ static int fbmem_region_reserved(unsigned long start, size_t size) | |||
94 | * Get the region_idx`th region from board config/ATAG and convert it to | 94 | * Get the region_idx`th region from board config/ATAG and convert it to |
95 | * our internal format. | 95 | * our internal format. |
96 | */ | 96 | */ |
97 | static int get_fbmem_region(int region_idx, struct omapfb_mem_region *rg) | 97 | static int __init get_fbmem_region(int region_idx, struct omapfb_mem_region *rg) |
98 | { | 98 | { |
99 | const struct omap_fbmem_config *conf; | 99 | const struct omap_fbmem_config *conf; |
100 | u32 paddr; | 100 | u32 paddr; |