From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: linux-arm-kernel@lists.infradead.org
Cc: "Russell King" <linux@arm.linux.org.uk>,
"Tony Lindgren" <tony@atomide.com>,
linux-kernel@vger.kernel.org,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Tomi Valkeinen" <tomi.valkeinen@nokia.com>,
linux-omap@vger.kernel.org
Subject: [PATCH 08/11] ARM: omap: move get_fbmem_region() to .init.text
Date: Fri, 23 Jul 2010 21:58:31 +0200 [thread overview]
Message-ID: <1279915120-4373-8-git-send-email-u.kleine-koenig@pengutronix.de> (raw)
In-Reply-To: <1279915120-4373-1-git-send-email-u.kleine-koenig@pengutronix.de>
get_fbmem_region() is only called by omapfb_reserve_sdram() 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>
---
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 4c0ae4d..e05e320 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;
--
1.7.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2010-07-23 19:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1279915120-4373-1-git-send-email-u.kleine-koenig@pengutronix.de>
2010-07-23 19:58 ` [PATCH 04/11] ARM: omap: move omap_init_fb to .init.text Uwe Kleine-König
2010-07-23 19:58 ` [PATCH 05/11] ARM: omap1: nokia770: move mipid_dev_init() " Uwe Kleine-König
2010-07-23 19:58 ` [PATCH 06/11] ARM: omap: move omapfb_reserve_sdram() " Uwe Kleine-König
2010-07-23 21:15 ` Russell King - ARM Linux
2010-07-24 8:51 ` Uwe Kleine-König
2010-07-23 19:58 ` [PATCH 07/11] ARM: omap: move omapfb_reserve_sram() " Uwe Kleine-König
2010-07-23 21:15 ` Russell King - ARM Linux
2010-07-23 19:58 ` Uwe Kleine-König [this message]
2010-07-23 21:16 ` [PATCH 08/11] ARM: omap: move get_fbmem_region() " Russell King - ARM Linux
2010-07-23 19:58 ` [PATCH 09/11] ARM: omap: move omap_get_config et al. " Uwe Kleine-König
2010-07-23 19:58 ` [PATCH 10/11] wip: ARM: omap: move omap_board_config_kernel to .init.data Uwe Kleine-König
2010-07-23 19:58 ` [PATCH 11/11] ARM: omap: ams-delta: move config " Uwe Kleine-König
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1279915120-4373-8-git-send-email-u.kleine-koenig@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=tomi.valkeinen@nokia.com \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).