summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-06-25 00:11:21 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-25 23:14:55 -0700
commit1715f5ef0db94d12d9131d5afa9134e26f77529f (patch)
tree6e0ed0893ae92eeedfc51aae495096bb6957c1a2 /drivers
parent09ec431476aa6efca436faf1e1aaadb4fa283972 (diff)
downloadop-kernel-dev-1715f5ef0db94d12d9131d5afa9134e26f77529f.zip
op-kernel-dev-1715f5ef0db94d12d9131d5afa9134e26f77529f.tar.gz
[CPWATCHDOG]: Fix the build.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-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;
}
}
OpenPOWER on IntegriCloud