Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2eaaac50 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

MIPS: Malta: Fix section mismatch.



  LD      arch/mips/pci/built-in.o
WARNING: arch/mips/pci/built-in.o(.devinit.text+0x2a0): Section mismatch in reference from the function malta_piix_func0_fixup() to the variable .init.data:pci_irq
The function __devinit malta_piix_func0_fixup() references
a variable __initdata pci_irq.
If pci_irq is only used by malta_piix_func0_fixup then
annotate pci_irq with a matching annotation.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 3efd5a0d
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -8,7 +8,8 @@
#define PCID		4
#define PCID		4


/* This table is filled in by interrogating the PIIX4 chip */
/* This table is filled in by interrogating the PIIX4 chip */
static char pci_irq[5] __initdata;
static char pci_irq[5] __devinitdata = {
};


static char irq_tab[][5] __initdata = {
static char irq_tab[][5] __initdata = {
	/*      INTA    INTB    INTC    INTD */
	/*      INTA    INTB    INTC    INTD */