diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-02-09 21:40:08 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-02-09 16:36:40 -0800 |
commit | 2354f64a24924f87ed74f6ff1a38be4b05938c04 (patch) | |
tree | b0d696fdff54779ac43e94cee42c3133b1472e26 /arch/arm/plat-omap/include/plat/board.h | |
parent | 29ab3c77c6ec6b4147f9bed75c2f4ed6f73b1bb8 (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/include/plat/board.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/board.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/include/plat/board.h b/arch/arm/plat-omap/include/plat/board.h index 3cf4fa25ab3..97126dfd288 100644 --- a/arch/arm/plat-omap/include/plat/board.h +++ b/arch/arm/plat-omap/include/plat/board.h @@ -151,14 +151,14 @@ struct omap_board_config_kernel { const void *data; }; -extern const void *__omap_get_config(u16 tag, size_t len, int nr); +extern const void *__init __omap_get_config(u16 tag, size_t len, int nr); #define omap_get_config(tag, type) \ ((const type *) __omap_get_config((tag), sizeof(type), 0)) #define omap_get_nr_config(tag, type, nr) \ ((const type *) __omap_get_config((tag), sizeof(type), (nr))) -extern const void *omap_get_var_config(u16 tag, size_t *len); +extern const void *__init omap_get_var_config(u16 tag, size_t *len); extern struct omap_board_config_kernel *omap_board_config; extern int omap_board_config_size; |