ar71xx: fix ath79/rb4xx IRQ initialization on kernel 4.14
authorW. Michael Petullo <mike@flyn.org>
Sun, 30 Jun 2019 00:06:20 +0000 (20:06 -0400)
committerPetr Štetiar <ynezz@true.cz>
Wed, 3 Jul 2019 05:45:00 +0000 (07:45 +0200)
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 <koen.vandeputte@ncentric.com>
Signed-off-by: W. Michael Petullo <mike@flyn.org>
[commit ref fix]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c

index 722993ff9b82ff8f38ed857dafe9be83817afb69..edf90e18720148a852f9f8ce1eaef204bf96c43f 100644 (file)
@@ -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,