diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-09-02 10:03:40 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-10-22 23:21:02 +0300 |
commit | 9dbb7a5da96ed864f8b92297258ba73c6325d755 (patch) | |
tree | 887ab38614da2267f4852126d917debd0185b3d9 /arch/arm/plat-omap | |
parent | e92840b704a2be44599e36f84ad3ae5d68363a21 (diff) | |
download | linux-9dbb7a5da96ed864f8b92297258ba73c6325d755.tar.gz linux-9dbb7a5da96ed864f8b92297258ba73c6325d755.tar.bz2 linux-9dbb7a5da96ed864f8b92297258ba73c6325d755.zip |
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/plat-omap')
-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) * Get the region_idx`th region from board config/ATAG and convert it to * our internal format. */ -static int get_fbmem_region(int region_idx, struct omapfb_mem_region *rg) +static int __init get_fbmem_region(int region_idx, struct omapfb_mem_region *rg) { const struct omap_fbmem_config *conf; u32 paddr; |