mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 23:58:05 +00:00
[CPWATCHDOG]: Fix the build.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
09ec431476
commit
1715f5ef0d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue