diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-10-06 22:35:28 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2013-10-06 22:35:28 +0000 |
commit | 53a2c19c69d03bbdb81f1c27f9bc0b81b8da5ee4 (patch) | |
tree | fef8688a60ebf396f2238415fb75c7b3ae4e4220 /target/linux/generic/files | |
parent | 2c5e4aa6add7eefb6663893a47cc6ffbb0241c68 (diff) | |
download | mtk-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.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 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; } |