Skip to content

Commit 2eaaac5

Browse files
committed
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: Ralf Baechle <ralf@linux-mips.org>
1 parent 3efd5a0 commit 2eaaac5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎arch/mips/pci/fixup-malta.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
#define PCID 4
99

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

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

0 commit comments

Comments
 (0)