diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-02-09 21:40:09 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-02-09 16:36:41 -0800 |
commit | 119c4c2cce34a07c98f0166ad679135bb62621ec (patch) | |
tree | 0ef520fe9ee37f374522a724c56083edf1b3a6b3 /arch/arm | |
parent | 2354f64a24924f87ed74f6ff1a38be4b05938c04 (diff) |
ARM: omap: move omap_board_config_kernel to .init.data
This variable is only assigned in __init functions and never used later.
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')
-rw-r--r-- | arch/arm/plat-omap/common.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/common.c b/arch/arm/plat-omap/common.c index 30c698e7a02d..d9f10a31e604 100644 --- a/arch/arm/plat-omap/common.c +++ b/arch/arm/plat-omap/common.c @@ -24,10 +24,11 @@ #define NO_LENGTH_CHECK 0xffffffff -struct omap_board_config_kernel *omap_board_config; +struct omap_board_config_kernel *omap_board_config __initdata; int omap_board_config_size; -static const void *get_config(u16 tag, size_t len, int skip, size_t *len_out) +static const void *__init get_config(u16 tag, size_t len, + int skip, size_t *len_out) { struct omap_board_config_kernel *kinfo = NULL; int i; |