aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2019-08-07 17:06:09 +0200
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2019-08-27 10:31:06 +0200
commitdb1a935e5c6c8f55342b1996e09fa799bbda1239 (patch)
treeb150febc46cfb88912fb412feafbeb4aa94fd3ec
parent8d78aa8eaf7007db141d8543268f43c9d9210a19 (diff)
downloadupstream-db1a935e5c6c8f55342b1996e09fa799bbda1239.tar.gz
upstream-db1a935e5c6c8f55342b1996e09fa799bbda1239.tar.bz2
upstream-db1a935e5c6c8f55342b1996e09fa799bbda1239.zip
ar71xx: ag71xx: use base address value directly from the source
This brings the code more inline with the ath79 flavour Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
-rw-r--r--target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
index 9bf2a2db13..ee703a48bf 100644
--- a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
+++ b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
@@ -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;