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=cb9db2a0c3234c3b36f710276a81a87a6032d86b;p=openwrt%2Fstaging%2Fblocktrron.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 (cherry picked from commit 8c7d6c47a7893db689e50e1917479ad07a96547a) --- 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 722993ff9b..edf90e1872 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,