summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-09-02 10:03:40 +0200
committerTomi Valkeinen <tomi.valkeinen@nokia.com>2010-10-22 23:21:02 +0300
commit9dbb7a5da96ed864f8b92297258ba73c6325d755 (patch)
tree887ab38614da2267f4852126d917debd0185b3d9 /arch/arm/plat-omap
parente92840b704a2be44599e36f84ad3ae5d68363a21 (diff)
downloadop-kernel-dev-9dbb7a5da96ed864f8b92297258ba73c6325d755.zip
op-kernel-dev-9dbb7a5da96ed864f8b92297258ba73c6325d755.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c
index 72a36ca..fffc1a0 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;
OpenPOWER on IntegriCloud