diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2017-02-02 08:20:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-02 22:02:31 -0500 |
commit | fd3984e6e78a569cd72d94687860501f7e73594c (patch) | |
tree | 3acd6b8d37b93aae1be8c59c4746f029feb5e3a8 | |
parent | 722eef28616798dd10f9a2e4254163a5bcd54eea (diff) | |
download | op-kernel-dev-fd3984e6e78a569cd72d94687860501f7e73594c.zip op-kernel-dev-fd3984e6e78a569cd72d94687860501f7e73594c.tar.gz |
net: stmmac: Fix wrong message in stmmac_probe_config_dt
Most likely a copy & paste error in referenced commit.
Restore the debug message to what it was before.
Fixes: f573c0b9c4e0 ("stmmac: move stmmac_clk, pclk, clk_ptp_ref and stmmac_rst to platform structure")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Acked-By: Joao Pinto <jpinto@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c index 460f94f..4963ccd 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c @@ -371,7 +371,7 @@ stmmac_probe_config_dt(struct platform_device *pdev, const char **mac) } else { clk_prepare_enable(plat->clk_ptp_ref); plat->clk_ptp_rate = clk_get_rate(plat->clk_ptp_ref); - dev_info(&pdev->dev, "No reset control found\n"); + dev_dbg(&pdev->dev, "PTP rate %d\n", plat->clk_ptp_rate); } plat->stmmac_rst = devm_reset_control_get(&pdev->dev, |