提交 95b0ce9d 编写于 作者: D David S. Miller

[RIOWATCHDOG]: Fix the build.

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 1715f5ef
......@@ -211,7 +211,7 @@ static int __init riowd_bbc_init(void)
for_each_ebus(ebus) {
for_each_ebusdev(edev, ebus) {
if (!strcmp(edev->prom_name, "bbc"))
if (!strcmp(edev->ofdev.node->name, "bbc"))
goto found_bbc;
}
}
......@@ -238,7 +238,7 @@ static int __init riowd_init(void)
for_each_ebus(ebus) {
for_each_ebusdev(edev, ebus) {
if (!strcmp(edev->prom_name, RIOWD_NAME))
if (!strcmp(edev->ofdev.node->name, RIOWD_NAME))
goto ebus_done;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册