mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
7bbf4117c6
This add support for kernel 4.9 to the ar71xx target. It was compile tested with the generic, NAND and mikrotik subtarget. Multiple members of the community tested it on their boards and did not report any major problem so far. Especially the NAND part received some changes to adapt to the new kernel APIs. The serial driver hack used for the Arduino Yun was not ported because the kernel changed there a lot. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 lines
334 B
Diff
15 lines
334 B
Diff
--- a/arch/mips/ath79/dev-wmac.c
|
|
+++ b/arch/mips/ath79/dev-wmac.c
|
|
@@ -24,7 +24,10 @@
|
|
#include "dev-wmac.h"
|
|
|
|
static u8 ath79_wmac_mac[ETH_ALEN];
|
|
-static struct ath9k_platform_data ath79_wmac_data;
|
|
+
|
|
+static struct ath9k_platform_data ath79_wmac_data = {
|
|
+ .led_pin = -1,
|
|
+};
|
|
|
|
static struct resource ath79_wmac_resources[] = {
|
|
{
|