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>
Cette révision appartient à :

révisé par
Kumar Gala

Parent
5093bb965a
révision
5848f16947
@@ -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);
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur