diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-09 03:02:35 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-09 03:02:35 -0400 |
commit | 1236d6bb6e19fc72ffc6bbcdeb1bfefe450e54ee (patch) | |
tree | 47da3feee8e263e8c9352c85cf518e624be3c211 /arch/mips/pci/fixup-cobalt.c | |
parent | 750b1a6894ecc9b178c6e3d0a1170122971b2036 (diff) | |
parent | 8a5776a5f49812d29fe4b2d0a2d71675c3facf3f (diff) |
Merge 4.14-rc4 into staging-next
We want the staging/iio fixes in here as well to handle merge issues.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mips/pci/fixup-cobalt.c')
-rw-r--r-- | arch/mips/pci/fixup-cobalt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/pci/fixup-cobalt.c b/arch/mips/pci/fixup-cobalt.c index b3ab59318d91..44be65c3e6bb 100644 --- a/arch/mips/pci/fixup-cobalt.c +++ b/arch/mips/pci/fixup-cobalt.c | |||
@@ -147,7 +147,7 @@ static void qube_raq_via_board_id_fixup(struct pci_dev *dev) | |||
147 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_0, | 147 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_0, |
148 | qube_raq_via_board_id_fixup); | 148 | qube_raq_via_board_id_fixup); |
149 | 149 | ||
150 | static char irq_tab_qube1[] __initdata = { | 150 | static char irq_tab_qube1[] = { |
151 | [COBALT_PCICONF_CPU] = 0, | 151 | [COBALT_PCICONF_CPU] = 0, |
152 | [COBALT_PCICONF_ETH0] = QUBE1_ETH0_IRQ, | 152 | [COBALT_PCICONF_ETH0] = QUBE1_ETH0_IRQ, |
153 | [COBALT_PCICONF_RAQSCSI] = SCSI_IRQ, | 153 | [COBALT_PCICONF_RAQSCSI] = SCSI_IRQ, |
@@ -156,7 +156,7 @@ static char irq_tab_qube1[] __initdata = { | |||
156 | [COBALT_PCICONF_ETH1] = 0 | 156 | [COBALT_PCICONF_ETH1] = 0 |
157 | }; | 157 | }; |
158 | 158 | ||
159 | static char irq_tab_cobalt[] __initdata = { | 159 | static char irq_tab_cobalt[] = { |
160 | [COBALT_PCICONF_CPU] = 0, | 160 | [COBALT_PCICONF_CPU] = 0, |
161 | [COBALT_PCICONF_ETH0] = ETH0_IRQ, | 161 | [COBALT_PCICONF_ETH0] = ETH0_IRQ, |
162 | [COBALT_PCICONF_RAQSCSI] = SCSI_IRQ, | 162 | [COBALT_PCICONF_RAQSCSI] = SCSI_IRQ, |
@@ -165,7 +165,7 @@ static char irq_tab_cobalt[] __initdata = { | |||
165 | [COBALT_PCICONF_ETH1] = ETH1_IRQ | 165 | [COBALT_PCICONF_ETH1] = ETH1_IRQ |
166 | }; | 166 | }; |
167 | 167 | ||
168 | static char irq_tab_raq2[] __initdata = { | 168 | static char irq_tab_raq2[] = { |
169 | [COBALT_PCICONF_CPU] = 0, | 169 | [COBALT_PCICONF_CPU] = 0, |
170 | [COBALT_PCICONF_ETH0] = ETH0_IRQ, | 170 | [COBALT_PCICONF_ETH0] = ETH0_IRQ, |
171 | [COBALT_PCICONF_RAQSCSI] = RAQ2_SCSI_IRQ, | 171 | [COBALT_PCICONF_RAQSCSI] = RAQ2_SCSI_IRQ, |
@@ -174,7 +174,7 @@ static char irq_tab_raq2[] __initdata = { | |||
174 | [COBALT_PCICONF_ETH1] = ETH1_IRQ | 174 | [COBALT_PCICONF_ETH1] = ETH1_IRQ |
175 | }; | 175 | }; |
176 | 176 | ||
177 | int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) | 177 | int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) |
178 | { | 178 | { |
179 | if (cobalt_board_id <= COBALT_BRD_ID_QUBE1) | 179 | if (cobalt_board_id <= COBALT_BRD_ID_QUBE1) |
180 | return irq_tab_qube1[slot]; | 180 | return irq_tab_qube1[slot]; |