aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-11-13 12:48:01 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-11-13 12:48:01 +0000
commit23823d7a6536601c7b678b6ef76feb1a9c555968 (patch)
tree91ebe63a3714cabed016260ef2ddf8d98b338590 /target/linux/ar71xx
parent8902490d2834f5ba27d3786b51798441c4938ff5 (diff)
downloadupstream-23823d7a6536601c7b678b6ef76feb1a9c555968.tar.gz
upstream-23823d7a6536601c7b678b6ef76feb1a9c555968.tar.bz2
upstream-23823d7a6536601c7b678b6ef76feb1a9c555968.zip
ar71xx: drop DB120_WMAC_MAC_OFFSET, it is not needed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29021 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-db120.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-db120.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-db120.c
index c4a25322c1..9d641a4278 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-db120.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-db120.c
@@ -33,7 +33,6 @@
#define DB120_MAC0_OFFSET 0
#define DB120_MAC1_OFFSET 6
#define DB120_CALDATA_OFFSET 0x1000
-#define DB120_WMAC_MAC_OFFSET 0x1002
#define DB120_KEYS_POLL_INTERVAL 20 /* msecs */
#define DB120_KEYS_DEBOUNCE_INTERVAL (3 * DB120_KEYS_POLL_INTERVAL)
@@ -146,8 +145,7 @@ static void __init db120_setup(void)
ar71xx_add_device_eth(1);
- ar9xxx_add_device_wmac(art + DB120_CALDATA_OFFSET,
- art + DB120_WMAC_MAC_OFFSET);
+ ar9xxx_add_device_wmac(art + DB120_CALDATA_OFFSET, NULL);
db120_pci_init();
}