aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2008-06-11 08:32:48 -0400
committerKumar Gala <galak@kernel.crashing.org>2008-06-11 14:46:24 -0400
commit5848f16947026601b9cb4df694bb9f44dfefc354 (patch)
tree55fe5e351827d7acd9b634a9af85c01b3ea72bd7 /arch/powerpc/sysdev
parent5093bb965a163fe288c3e5db0275165f86c895c2 (diff)
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/powerpc/sysdev')
-rw-r--r--arch/powerpc/sysdev/qe_lib/qe.c2
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 28e05df952de..9e82d7e725a5 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)
87 87
88EXPORT_SYMBOL(get_qe_base); 88EXPORT_SYMBOL(get_qe_base);
89 89
90void qe_reset(void) 90void __init qe_reset(void)
91{ 91{
92 if (qe_immr == NULL) 92 if (qe_immr == NULL)
93 qe_immr = ioremap(get_qe_base(), QE_IMMAP_SIZE); 93 qe_immr = ioremap(get_qe_base(), QE_IMMAP_SIZE);