[CPWATCHDOG]: Fix the build.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
09ec431476
commit
1715f5ef0d
|
@ -755,7 +755,7 @@ static int __init wd_init(void)
|
|||
|
||||
for_each_ebus(ebus) {
|
||||
for_each_ebusdev(edev, ebus) {
|
||||
if (!strcmp(edev->prom_name, WD_OBPNAME))
|
||||
if (!strcmp(edev->ofdev.node->name, WD_OBPNAME))
|
||||
goto ebus_done;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue