提交 5848f169 编写于 作者: A Anton Vorontsov 提交者: Kumar Gala

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: NAnton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
上级 5093bb96
...@@ -87,7 +87,7 @@ phys_addr_t get_qe_base(void) ...@@ -87,7 +87,7 @@ phys_addr_t get_qe_base(void)
EXPORT_SYMBOL(get_qe_base); EXPORT_SYMBOL(get_qe_base);
void qe_reset(void) void __init qe_reset(void)
{ {
if (qe_immr == NULL) if (qe_immr == NULL)
qe_immr = ioremap(get_qe_base(), QE_IMMAP_SIZE); qe_immr = ioremap(get_qe_base(), QE_IMMAP_SIZE);
......
...@@ -84,7 +84,7 @@ static inline bool qe_clock_is_brg(enum qe_clock clk) ...@@ -84,7 +84,7 @@ static inline bool qe_clock_is_brg(enum qe_clock clk)
extern spinlock_t cmxgcr_lock; extern spinlock_t cmxgcr_lock;
/* Export QE common operations */ /* Export QE common operations */
extern void qe_reset(void); extern void __init qe_reset(void);
/* QE PIO */ /* QE PIO */
#define QE_PIO_PINS 32 #define QE_PIO_PINS 32
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册