summaryrefslogtreecommitdiff
path: root/arch/mips/pci/fixup-capcella.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-09-22 13:09:11 -1000
committerLinus Torvalds <torvalds@linux-foundation.org>2017-09-22 13:09:11 -1000
commite2577d229374efc49f6479f42a54c3bd44a6008d (patch)
tree00429dfc4b9ffa4988dbe959e95bc4edcee3a9c4 /arch/mips/pci/fixup-capcella.c
parent9ae0b37e69ca7143cb338f183ce326442c8dd8be (diff)
parent749aaf3372b8b56b8743c3e27700d64c8bd06921 (diff)
Merge tag 'pci-v4.14-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
Pull PCI fixes from Bjorn Helgaas: - fix endpoint "end of test" interrupt issue (introduced in v4.14-rc1) (John Keeping) - fix MIPS use-after-free map_irq() issue (introduced in v4.14-rc1) (Lorenzo Pieralisi) * tag 'pci-v4.14-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: PCI: endpoint: Use correct "end of test" interrupt MIPS: PCI: Move map_irq() hooks out of initdata
Diffstat (limited to 'arch/mips/pci/fixup-capcella.c')
-rw-r--r--arch/mips/pci/fixup-capcella.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/fixup-capcella.c b/arch/mips/pci/fixup-capcella.c
index 35a671595a37..b4c263f16b15 100644
--- a/arch/mips/pci/fixup-capcella.c
+++ b/arch/mips/pci/fixup-capcella.c
@@ -32,7 +32,7 @@
#define INTC PC104PLUS_INTC_IRQ
#define INTD PC104PLUS_INTD_IRQ
-static char irq_tab_capcella[][5] __initdata = {
+static char irq_tab_capcella[][5] = {
[11] = { -1, INT1, INT1, INT1, INT1 },
[12] = { -1, INT2, INT2, INT2, INT2 },
[14] = { -1, INTA, INTB, INTC, INTD }