Skip to content

Commit db40909

Browse files
Russell Kingarndb
authored andcommitted
ARM: iop32x/n2100: fix PCI IRQ mapping
Booting 4.20 on a TheCUS N2100 results in a kernel oops while probing PCI, due to n2100_pci_map_irq() having been discarded during boot. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Cc: stable@vger.kernel.org # 2.6.18+ Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 44a0f88 commit db40909

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arch/arm/mach-iop32x/n2100.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ void __init n2100_map_io(void)
7575
/*
7676
* N2100 PCI.
7777
*/
78-
static int __init
79-
n2100_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
78+
static int n2100_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
8079
{
8180
int irq;
8281

0 commit comments

Comments
 (0)