summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2008-06-11 16:32:48 +0400
committerKumar Gala <galak@kernel.crashing.org>2008-06-11 13:46:24 -0500
commit5848f16947026601b9cb4df694bb9f44dfefc354 (patch)
tree55fe5e351827d7acd9b634a9af85c01b3ea72bd7 /include
parent5093bb965a163fe288c3e5db0275165f86c895c2 (diff)
downloadop-kernel-dev-5848f16947026601b9cb4df694bb9f44dfefc354.zip
op-kernel-dev-5848f16947026601b9cb4df694bb9f44dfefc354.tar.gz
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 'include')
-rw-r--r--include/asm-powerpc/qe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-powerpc/qe.h b/include/asm-powerpc/qe.h
index 80807fd..1355e72 100644
--- a/include/asm-powerpc/qe.h
+++ b/include/asm-powerpc/qe.h
@@ -84,7 +84,7 @@ static inline bool qe_clock_is_brg(enum qe_clock clk)
extern spinlock_t cmxgcr_lock;
/* Export QE common operations */
-extern void qe_reset(void);
+extern void __init qe_reset(void);
/* QE PIO */
#define QE_PIO_PINS 32
OpenPOWER on IntegriCloud