ar71xx: ag71xx: use base address value directly from the source
[openwrt/openwrt.git] / target / linux / ar71xx / files / drivers / net / ethernet / atheros / ag71xx / ag71xx_main.c
index 9bf2a2db13a2fc45d926ba77b0ae6df21aad48ac..ee703a48bfa1b50d046fac2f6db4c72b4a50cc3b 100644 (file)
@@ -1416,8 +1416,8 @@ static int ag71xx_probe(struct platform_device *pdev)
                goto err_phy_disconnect;
        }
 
-       pr_info("%s: Atheros AG71xx at 0x%08lx, irq %d, mode:%s\n",
-               dev->name, dev->base_addr, dev->irq,
+       pr_info("%s: Atheros AG71xx at 0x%08lx, irq %d, mode: %s\n",
+               dev->name, (unsigned long) ag->mac_base, dev->irq,
                phy_modes(pdata->phy_if_mode));
 
        return 0;