]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: footbridge: fix PCI interrupt mapping
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 25 Mar 2021 10:26:21 +0000 (10:26 +0000)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 25 Mar 2021 10:26:21 +0000 (10:26 +0000)
commit137d7972a5c8e603a19055c351090c66005b3f2b
treebb0c805986ff0ff865b129dcab6c3d135a0da1cd
parent1e93fa6e6fdf22e792febe509efb1c6b87c7d378
ARM: footbridge: fix PCI interrupt mapping

Since commit 8ee1063e0a40 ("PCI: Add a call to pci_assign_irq() in
pci_device_probe()"), the PCI code will call the IRQ mapping function
whenever a PCI driver is probed. If these are marked as __init, this
causes an oops if a PCI driver is loaded or bound after the kernel has
initialised.

Fixes: 8ee1063e0a40 ("PCI: Add a call to pci_assign_irq() in pci_device_probe()")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mach-footbridge/cats-pci.c
arch/arm/mach-footbridge/ebsa285-pci.c
arch/arm/mach-footbridge/netwinder-pci.c
arch/arm/mach-footbridge/personal-pci.c