• Ralf Baechle's avatar
    MIPS: IP27: Sort out section mismatch. · 901f6169
    Ralf Baechle authored
    WARNING: vmlinux.o(.text+0x3059f8): Section mismatch in reference from the function pcibios_plat_dev_init() to the function .devinit.text:request_bridge_irq()
    The function pcibios_plat_dev_init() references
    the function __devinit request_bridge_irq().
    This is often because pcibios_plat_dev_init lacks a __devinit
    annotation or the annotation of request_bridge_irq is wrong.
    
    Fixing this one leads to:
    
    WARNING: vmlinux.o(.text+0x1790): Section mismatch in reference from the function request_bridge_irq() to the function .devinit.text:register_bridge_irq()
    The function request_bridge_irq() references
    the function __devinit register_bridge_irq().
    This is often because request_bridge_irq lacks a __devinit
    annotation or the annotation of register_bridge_irq is wrong.
    Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    901f6169
ip27-irq.c 10.5 KB