From cb9db2a0c3234c3b36f710276a81a87a6032d86b Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Sat, 29 Jun 2019 20:06:20 -0400 Subject: [PATCH] ar71xx: fix ath79/rb4xx IRQ initialization on kernel 4.14 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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) --- target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.25.1