Root/target/linux/ar71xx/patches-3.2/510-MIPS-ath79-init-gpio-pin-of-wmac-device.patch

1--- a/arch/mips/ath79/dev-wmac.c
2+++ b/arch/mips/ath79/dev-wmac.c
3@@ -24,7 +24,10 @@
4 #include "dev-wmac.h"
5 
6 static u8 ath79_wmac_mac[ETH_ALEN];
7-static struct ath9k_platform_data ath79_wmac_data;
8+
9+static struct ath9k_platform_data ath79_wmac_data = {
10+ .led_pin = -1,
11+};
12 
13 static struct resource ath79_wmac_resources[] = {
14     {
15

Archive Download this file



interactive