diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-10-28 19:52:02 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-10-28 19:52:02 +0000 |
commit | e4db63fd64b1716715ac7289dc6f1fc48593d4af (patch) | |
tree | c5493128b26209a31354c173a6c020f4cbf37ef6 /target/linux/ar71xx/patches-3.6/510-MIPS-ath79-init-gpio-pin-of-wmac-device.patch | |
parent | 87186c5ed4681ba9830c072f4487e206147c973d (diff) | |
download | upstream-e4db63fd64b1716715ac7289dc6f1fc48593d4af.tar.gz upstream-e4db63fd64b1716715ac7289dc6f1fc48593d4af.tar.bz2 upstream-e4db63fd64b1716715ac7289dc6f1fc48593d4af.zip |
ar71xx: add initial support for 3.6
The nand subtarget is not working yet.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33983
Diffstat (limited to 'target/linux/ar71xx/patches-3.6/510-MIPS-ath79-init-gpio-pin-of-wmac-device.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.6/510-MIPS-ath79-init-gpio-pin-of-wmac-device.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-3.6/510-MIPS-ath79-init-gpio-pin-of-wmac-device.patch b/target/linux/ar71xx/patches-3.6/510-MIPS-ath79-init-gpio-pin-of-wmac-device.patch new file mode 100644 index 0000000000..2d2235e292 --- /dev/null +++ b/target/linux/ar71xx/patches-3.6/510-MIPS-ath79-init-gpio-pin-of-wmac-device.patch @@ -0,0 +1,14 @@ +--- 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[] = { + { |