[OpenWrt-Devel] ath9k broken
W. Michael Petullo
mike at flyn.org
Sat Jun 29 20:25:41 EDT 2019
> You can build with the 4.9 kernel. I think that something like
> https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=3b53d6fdbc241173b4264aa49142ba94d406a806
>
> is needed for your SoC.
The following patch seems to fix this. See also
https://github.com/openwrt/openwrt/pull/2182.
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,
--
Mike
:wq
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list