summaryrefslogtreecommitdiffstats
path: root/drivers/sbus
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-06-25 09:11:21 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-26 08:14:55 +0200
commit1715f5ef0db94d12d9131d5afa9134e26f77529f (patch)
tree6e0ed0893ae92eeedfc51aae495096bb6957c1a2 /drivers/sbus
parent[PARPORT] sunbpp: Fix typo. (diff)
downloadlinux-1715f5ef0db94d12d9131d5afa9134e26f77529f.tar.xz
linux-1715f5ef0db94d12d9131d5afa9134e26f77529f.zip
[CPWATCHDOG]: Fix the build.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sbus')
-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 5bf3dd901b65..21737b7e86a1 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;
}
}