mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 14:10:43 +00:00
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>
This commit is contained in:
parent
7f36806c9b
commit
1485d64923
1 changed files with 1 additions and 2 deletions
|
@ -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 |
|
||||
|
|
Loading…
Reference in a new issue