From e773838813c268720f61dd5946dbac40e414b56a Mon Sep 17 00:00:00 2001 From: Koen Vandeputte Date: Wed, 7 Aug 2019 17:06:09 +0200 Subject: 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 --- .../ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/ar71xx/files/drivers') 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; -- cgit v1.2.3