mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user