From: yankejian@huawei.com (Kejian Yan)
To: linux-arm-kernel@lists.infradead.org
Subject: [patch v3 net-next 2/2] net: hns: fixes no syscon error when init mdio
Date: Wed, 13 Jan 2016 15:09:59 +0800 [thread overview]
Message-ID: <1452668999-443-3-git-send-email-yankejian@huawei.com> (raw)
In-Reply-To: <1452668999-443-1-git-send-email-yankejian@huawei.com>
As dtsi files use the normal naming conventions using '-' instead of '_'
inside of property names, the driver needs to update the phandle name
strings of the of_parse_phandle func.
Signed-off-by: Kejian Yan <yankejian@huawei.com>
---
change log:
v3:
same as v2
v2:
adds the initial version, because using '-' instead of '_'
v1:
does not exist.
v2 patch link: https://lkml.org/lkml/2015/12/7/77
---
drivers/net/ethernet/hisilicon/hns_mdio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/hisilicon/hns_mdio.c b/drivers/net/ethernet/hisilicon/hns_mdio.c
index 37491c8..1e07e91 100644
--- a/drivers/net/ethernet/hisilicon/hns_mdio.c
+++ b/drivers/net/ethernet/hisilicon/hns_mdio.c
@@ -458,7 +458,7 @@ static int hns_mdio_probe(struct platform_device *pdev)
}
mdio_dev->subctrl_vbase =
- syscon_node_to_regmap(of_parse_phandle(np, "subctrl_vbase", 0));
+ syscon_node_to_regmap(of_parse_phandle(np, "subctrl-vbase", 0));
if (IS_ERR(mdio_dev->subctrl_vbase)) {
dev_warn(&pdev->dev, "no syscon hisilicon,peri-c-subctrl\n");
mdio_dev->subctrl_vbase = NULL;
--
2.4.1
next prev parent reply other threads:[~2016-01-13 7:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-13 7:09 [patch v3 net-next 0/2] dts: hisi: fixes no syscon fault when init mdio Kejian Yan
2016-01-13 7:09 ` [patch v3 net-next 1/2] " Kejian Yan
2016-01-15 2:17 ` Rob Herring
2016-01-13 7:09 ` Kejian Yan [this message]
2016-01-15 19:40 ` [patch v3 net-next 0/2] " David Miller
-- strict thread matches above, loose matches on Subject: below --
2016-01-13 3:01 [PATCH v2 next-next] net: hns: enet specifies a reference to dsaf Kejian Yan
2016-01-13 3:01 ` [patch v3 net-next 2/2] net: hns: fixes no syscon error when init mdio Kejian Yan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1452668999-443-3-git-send-email-yankejian@huawei.com \
--to=yankejian@huawei.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox