diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-09-20 09:21:28 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-09-20 09:21:31 +0200 |
commit | 2db4aa5c32831454afcc807b9505bd196f688293 (patch) | |
tree | b13a30cee91eec08dde02abd091f76ecc4cb5128 /common/console.c | |
parent | e4c138e0286e5ae8fd95f2e7e2dd8cc8c49698ca (diff) | |
download | barebox-2db4aa5c32831454afcc807b9505bd196f688293.tar.gz barebox-2db4aa5c32831454afcc807b9505bd196f688293.tar.xz |
rename __initdata to __early_initdata
The __initdata define was present before Jean-Christophe
added it as fake value for Linux compatibility. Rename
the previous define to a different name to avoid
clashes
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/console.c')
-rw-r--r-- | common/console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/console.c b/common/console.c index 7199d9afb8..889c26232d 100644 --- a/common/console.c +++ b/common/console.c @@ -51,7 +51,7 @@ static void display_banner (void) printf(RELOC("Board: " CONFIG_BOARDINFO "\n")); } -static int __initdata initialized = 0; +static int __early_initdata initialized = 0; static int console_std_set(struct device_d *dev, struct param_d *param, const char *val) @@ -246,7 +246,7 @@ int tstc(void) } EXPORT_SYMBOL(tstc); -void __initdata *early_console_base; +void __early_initdata *early_console_base; void console_putc(unsigned int ch, char c) { |