diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-02-09 15:40:09 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-02-09 19:36:41 -0500 |
commit | 119c4c2cce34a07c98f0166ad679135bb62621ec (patch) | |
tree | 0ef520fe9ee37f374522a724c56083edf1b3a6b3 | |
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>
-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 @@ | |||
24 | 24 | ||
25 | #define NO_LENGTH_CHECK 0xffffffff | 25 | #define NO_LENGTH_CHECK 0xffffffff |
26 | 26 | ||
27 | struct omap_board_config_kernel *omap_board_config; | 27 | struct omap_board_config_kernel *omap_board_config __initdata; |
28 | int omap_board_config_size; | 28 | int omap_board_config_size; |
29 | 29 | ||
30 | static const void *get_config(u16 tag, size_t len, int skip, size_t *len_out) | 30 | static const void *__init get_config(u16 tag, size_t len, |
31 | int skip, size_t *len_out) | ||
31 | { | 32 | { |
32 | struct omap_board_config_kernel *kinfo = NULL; | 33 | struct omap_board_config_kernel *kinfo = NULL; |
33 | int i; | 34 | int i; |