diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2011-06-22 04:29:40 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-10-20 10:00:18 -0400 |
commit | 901f6169400bcfcde7da71695c57388da0a515e5 (patch) | |
tree | 60cfbf9da2d51976b0e20caf36fcbb61b181b9dd /arch/mips | |
parent | d9cdc901af0f92da7f90c750d8c187f5500be067 (diff) |
MIPS: IP27: Sort out section mismatch.
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: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/sgi-ip27/ip27-irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/sgi-ip27/ip27-irq.c b/arch/mips/sgi-ip27/ip27-irq.c index b18b04e48577..f90dce315e04 100644 --- a/arch/mips/sgi-ip27/ip27-irq.c +++ b/arch/mips/sgi-ip27/ip27-irq.c | |||
@@ -337,12 +337,12 @@ static struct irq_chip bridge_irq_type = { | |||
337 | .irq_unmask = enable_bridge_irq, | 337 | .irq_unmask = enable_bridge_irq, |
338 | }; | 338 | }; |
339 | 339 | ||
340 | void __devinit register_bridge_irq(unsigned int irq) | 340 | void register_bridge_irq(unsigned int irq) |
341 | { | 341 | { |
342 | irq_set_chip_and_handler(irq, &bridge_irq_type, handle_level_irq); | 342 | irq_set_chip_and_handler(irq, &bridge_irq_type, handle_level_irq); |
343 | } | 343 | } |
344 | 344 | ||
345 | int __devinit request_bridge_irq(struct bridge_controller *bc) | 345 | int request_bridge_irq(struct bridge_controller *bc) |
346 | { | 346 | { |
347 | int irq = allocate_irqno(); | 347 | int irq = allocate_irqno(); |
348 | int swlevel, cpu; | 348 | int swlevel, cpu; |