projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a359eaa
)
net: axi_emac: Report phy-node error message permanently
author
Michal Simek
<michal.simek@xilinx.com>
Mon, 8 Feb 2016 12:54:05 +0000
(13:54 +0100)
committer
Michal Simek
<michal.simek@xilinx.com>
Mon, 4 Apr 2016 18:28:38 +0000
(20:28 +0200)
Do not use debug() when printing error message. Use printf instead.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/xilinx_axi_emac.c
patch
|
blob
|
history
diff --git
a/drivers/net/xilinx_axi_emac.c
b/drivers/net/xilinx_axi_emac.c
index 3d69bed3093ca51cdafb0549ed72d9ff80175d72..5de06ef01e8d256f039db10ca2db59e19e37997b 100644
(file)
--- a/
drivers/net/xilinx_axi_emac.c
+++ b/
drivers/net/xilinx_axi_emac.c
@@
-715,7
+715,7
@@
static int axi_emac_ofdata_to_platdata(struct udevice *dev)
if (phy_mode)
pdata->phy_interface = phy_get_interface_by_name(phy_mode);
if (pdata->phy_interface == -1) {
-
debug
("%s: Invalid PHY interface '%s'\n", __func__, phy_mode);
+
printf
("%s: Invalid PHY interface '%s'\n", __func__, phy_mode);
return -EINVAL;
}
priv->interface = pdata->phy_interface;