ar71xx: cr5000: board data: Use better macro name
authorDaniel F. Dickinson <cshored@thecshore.com>
Sat, 21 Jul 2018 00:59:40 +0000 (20:59 -0400)
committerJohn Crispin <john@phrozen.org>
Mon, 30 Jul 2018 08:43:32 +0000 (10:43 +0200)
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>
target/linux/ar71xx/files/arch/mips/ath79/mach-cr5000.c

index f393ed1113f7cccea32b1d79ad2fd74a15155d53..15cac710477ddae4657bd3d2595745cb2ef012bd 100644 (file)
@@ -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);