Browse Source

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 <[email protected]>
Signed-off-by: W. Michael Petullo <[email protected]>
[commit ref fix]
Signed-off-by: Petr Štetiar <[email protected]>
W. Michael Petullo 6 years ago
parent
commit
8c7d6c47a7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c

+ 1 - 1
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,