From: W. Michael Petullo Date: Sun, 30 Jun 2019 00:06:20 +0000 (-0400) Subject: ar71xx: fix ath79/rb4xx IRQ initialization on kernel 4.14 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8c7d6c47a7893db689e50e1917479ad07a96547a;p=openwrt%2Fstaging%2Fblogic.git ar71xx: fix ath79/rb4xx IRQ initialization on kernel 4.14 Apply the same approach as in commit 3b53d6fdbc24 ("ar71xx: fix pci irq init on kernel 4.14") to fix IRQ initialization for ath79-based chipsets on rb4xx. Ref: PR#2182 Acked-by: Koen Vandeputte Signed-off-by: W. Michael Petullo [commit ref fix] Signed-off-by: Petr Štetiar --- diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c index 722993ff9b82..edf90e187201 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c @@ -88,7 +88,7 @@ static struct platform_device rb4xx_nand_device = { .id = -1, }; -static struct ath79_pci_irq rb4xx_pci_irqs[] __initdata = { +static struct ath79_pci_irq rb4xx_pci_irqs[] = { { .slot = 17, .pin = 1,