summaryrefslogtreecommitdiff
path: root/target/linux/generic/files
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-10-06 22:35:28 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-10-06 22:35:28 +0000
commit53a2c19c69d03bbdb81f1c27f9bc0b81b8da5ee4 (patch)
treefef8688a60ebf396f2238415fb75c7b3ae4e4220 /target/linux/generic/files
parent2c5e4aa6add7eefb6663893a47cc6ffbb0241c68 (diff)
downloadmtk-20170518-53a2c19c69d03bbdb81f1c27f9bc0b81b8da5ee4.zip
mtk-20170518-53a2c19c69d03bbdb81f1c27f9bc0b81b8da5ee4.tar.gz
mtk-20170518-53a2c19c69d03bbdb81f1c27f9bc0b81b8da5ee4.tar.bz2
kernel: b53: add switch name into printk when it fails.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38307
Diffstat (limited to 'target/linux/generic/files')
-rw-r--r--target/linux/generic/files/drivers/net/phy/b53/b53_mdio.c2
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 6403cc6..cacf32b 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;
}