summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-06-25 07:11:21 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-26 06:14:55 (GMT)
commit1715f5ef0db94d12d9131d5afa9134e26f77529f (patch)
tree6e0ed0893ae92eeedfc51aae495096bb6957c1a2
parent09ec431476aa6efca436faf1e1aaadb4fa283972 (diff)
downloadlinux-fsl-qoriq-1715f5ef0db94d12d9131d5afa9134e26f77529f.tar.xz
[CPWATCHDOG]: Fix the build.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/sbus/char/cpwatchdog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sbus/char/cpwatchdog.c b/drivers/sbus/char/cpwatchdog.c
index 5bf3dd9..21737b7 100644
--- a/drivers/sbus/char/cpwatchdog.c
+++ b/drivers/sbus/char/cpwatchdog.c
@@ -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;
}
}