Commit 1715f5ef authored by David S. Miller's avatar David S. Miller

[CPWATCHDOG]: Fix the build.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 09ec4314
...@@ -755,7 +755,7 @@ static int __init wd_init(void) ...@@ -755,7 +755,7 @@ static int __init wd_init(void)
for_each_ebus(ebus) { for_each_ebus(ebus) {
for_each_ebusdev(edev, ebus) { for_each_ebusdev(edev, ebus) {
if (!strcmp(edev->prom_name, WD_OBPNAME)) if (!strcmp(edev->ofdev.node->name, WD_OBPNAME))
goto ebus_done; goto ebus_done;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment