diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-10-06 22:35:28 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-10-06 22:35:28 +0000 |
commit | 1e03d9f0eefdfac8274d67c1d32e781e89e2058a (patch) | |
tree | f0bc92b561af22db449363de5ea3e3530551a6d7 /target/linux/generic | |
parent | e0f3beb7cce2533220e6642db55048df50b29762 (diff) | |
download | upstream-1e03d9f0eefdfac8274d67c1d32e781e89e2058a.tar.gz upstream-1e03d9f0eefdfac8274d67c1d32e781e89e2058a.tar.bz2 upstream-1e03d9f0eefdfac8274d67c1d32e781e89e2058a.zip |
kernel: b53: add switch name into printk when it fails.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38307 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/b53/b53_mdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/b53/b53_mdio.c b/target/linux/generic/files/drivers/net/phy/b53/b53_mdio.c index 6403cc6388..cacf32b613 100644 --- a/target/linux/generic/files/drivers/net/phy/b53/b53_mdio.c +++ b/target/linux/generic/files/drivers/net/phy/b53/b53_mdio.c @@ -296,7 +296,7 @@ static int b53_phy_config_init(struct phy_device *phydev) ret = b53_switch_register(dev); if (ret) { - pr_info("failed to register switch: %i\n", ret); + dev_err(dev->dev, "failed to register switch: %i\n", ret); return ret; } |