diff options
author | Sean Anderson | 2020-09-15 10:44:52 -0400 |
---|---|---|
committer | Tom Rini | 2020-09-30 08:53:04 -0400 |
commit | 1485d6492359f8ea39c7f3a96076f6a1a3d060f1 (patch) | |
tree | 138eb4299ad9ccfee7e71c82370998184af04c21 /drivers/net | |
parent | 7f36806c9bd3c99e615456d04ee7480873d73a3b (diff) |
net: bcm6368: Fix not calling dev_info with a device
Remove the pdev indirection.
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Tested-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/bcm6368-eth.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/bcm6368-eth.c b/drivers/net/bcm6368-eth.c index 648fafd3e09..38a2a30fe6c 100644 --- a/drivers/net/bcm6368-eth.c +++ b/drivers/net/bcm6368-eth.c @@ -249,8 +249,7 @@ static int bcm6368_eth_adjust_link(struct udevice *dev) /* link changed */ if (!up) { - dev_info(&priv->pdev->dev, "link DOWN on %s\n", - port->name); + dev_info(dev, "link DOWN on %s\n", port->name); writeb_be(ETH_PORTOV_ENABLE_MASK, priv->base + ETH_PORTOV_REG(i)); writeb_be(ETH_PTCTRL_RXDIS_MASK | |