aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/common.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2011-02-09 15:40:08 -0500
committerTony Lindgren <tony@atomide.com>2011-02-09 19:36:40 -0500
commit2354f64a24924f87ed74f6ff1a38be4b05938c04 (patch)
treeb0d696fdff54779ac43e94cee42c3133b1472e26 /arch/arm/plat-omap/common.c
parent29ab3c77c6ec6b4147f9bed75c2f4ed6f73b1bb8 (diff)
ARM: omap: move omap_get_config et al. to .init.text
All callers of these functions live in .init.text, so these can go there, too. There they must not be exported anymore, this is no problem though, as all callers are always built-in. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/common.c')
-rw-r--r--arch/arm/plat-omap/common.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/plat-omap/common.c b/arch/arm/plat-omap/common.c
index f04731820301..30c698e7a02d 100644
--- a/arch/arm/plat-omap/common.c
+++ b/arch/arm/plat-omap/common.c
@@ -49,17 +49,15 @@ static const void *get_config(u16 tag, size_t len, int skip, size_t *len_out)
49 return kinfo->data; 49 return kinfo->data;
50} 50}
51 51
52const void *__omap_get_config(u16 tag, size_t len, int nr) 52const void *__init __omap_get_config(u16 tag, size_t len, int nr)
53{ 53{
54 return get_config(tag, len, nr, NULL); 54 return get_config(tag, len, nr, NULL);
55} 55}
56EXPORT_SYMBOL(__omap_get_config);
57 56
58const void *omap_get_var_config(u16 tag, size_t *len) 57const void *__init omap_get_var_config(u16 tag, size_t *len)
59{ 58{
60 return get_config(tag, NO_LENGTH_CHECK, 0, len); 59 return get_config(tag, NO_LENGTH_CHECK, 0, len);
61} 60}
62EXPORT_SYMBOL(omap_get_var_config);
63 61
64void __init omap_reserve(void) 62void __init omap_reserve(void)
65{ 63{