diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-06-11 16:32:48 +0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-06-11 13:46:24 -0500 |
commit | 5848f16947026601b9cb4df694bb9f44dfefc354 (patch) | |
tree | 55fe5e351827d7acd9b634a9af85c01b3ea72bd7 /arch | |
parent | 5093bb965a163fe288c3e5db0275165f86c895c2 (diff) | |
download | kernel_samsung_espresso10-5848f16947026601b9cb4df694bb9f44dfefc354.zip kernel_samsung_espresso10-5848f16947026601b9cb4df694bb9f44dfefc354.tar.gz kernel_samsung_espresso10-5848f16947026601b9cb4df694bb9f44dfefc354.tar.bz2 |
powerpc/QE: qe_reset should be __init
This patch fixes following section mismatch:
WARNING: arch/powerpc/sysdev/built-in.o(.text+0x11d8): Section mismatch in
reference from the function qe_reset() to the function
.init.text:cpm_muram_init()
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/sysdev/qe_lib/qe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/qe_lib/qe.c b/arch/powerpc/sysdev/qe_lib/qe.c index 28e05df..9e82d7e 100644 --- a/arch/powerpc/sysdev/qe_lib/qe.c +++ b/arch/powerpc/sysdev/qe_lib/qe.c @@ -87,7 +87,7 @@ phys_addr_t get_qe_base(void) EXPORT_SYMBOL(get_qe_base); -void qe_reset(void) +void __init qe_reset(void) { if (qe_immr == NULL) qe_immr = ioremap(get_qe_base(), QE_IMMAP_SIZE); |