aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorDaniel F. Dickinson <cshored@thecshore.com>2018-07-20 20:59:40 -0400
committerJohn Crispin <john@phrozen.org>2018-07-30 10:43:32 +0200
commita208e0779084e17e981a93927ca44ac36ff07db7 (patch)
tree494531b6998077703e7ae9f7d4609b7f4370ac2c /target/linux
parent915966d86121613dad04ee77ca1849b1c2187e13 (diff)
downloadupstream-a208e0779084e17e981a93927ca44ac36ff07db7.tar.gz
upstream-a208e0779084e17e981a93927ca44ac36ff07db7.tar.bz2
upstream-a208e0779084e17e981a93927ca44ac36ff07db7.zip
ar71xx: cr5000: board data: Use better macro name
The PCIe wireless MAC address address is better labelled as WMAC than MAC to emphasize that it is for a wireless interface. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-cr5000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-cr5000.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-cr5000.c
index f393ed1113..15cac71047 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-cr5000.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-cr5000.c
@@ -58,7 +58,7 @@
#define CR5000_WMAC_CALDATA_OFFSET 0x1000
#define CR5000_WMAC_MAC_OFFSET 0x1002
#define CR5000_PCIE_CALDATA_OFFSET 0x5000
-#define CR5000_PCIE_MAC_OFFSET 0x5002
+#define CR5000_PCIE_WMAC_OFFSET 0x5002
static struct gpio_led cr5000_leds_gpio[] __initdata = {
{
@@ -153,7 +153,7 @@ static void __init cr5000_setup(void)
cr5000_gpio_keys);
ath79_register_usb();
ath79_register_wmac(art + CR5000_WMAC_CALDATA_OFFSET, art + CR5000_WMAC_MAC_OFFSET);
- ap94_pci_init(NULL, NULL, NULL, art + CR5000_PCIE_MAC_OFFSET);
+ ap94_pci_init(NULL, NULL, NULL, art + CR5000_PCIE_WMAC_OFFSET);
ath79_setup_ar934x_eth_cfg(AR934X_ETH_CFG_RGMII_GMAC0);