[CPWATCHDOG]: Fix the build.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2006-06-25 00:11:21 -07:00
parent 09ec431476
commit 1715f5ef0d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}