diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-06-25 03:11:21 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-26 02:14:55 -0400 |
commit | 1715f5ef0db94d12d9131d5afa9134e26f77529f (patch) | |
tree | 6e0ed0893ae92eeedfc51aae495096bb6957c1a2 | |
parent | 09ec431476aa6efca436faf1e1aaadb4fa283972 (diff) |
[CPWATCHDOG]: Fix the build.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/sbus/char/cpwatchdog.c | 2 |
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) | |||
755 | 755 | ||
756 | for_each_ebus(ebus) { | 756 | for_each_ebus(ebus) { |
757 | for_each_ebusdev(edev, ebus) { | 757 | for_each_ebusdev(edev, ebus) { |
758 | if (!strcmp(edev->prom_name, WD_OBPNAME)) | 758 | if (!strcmp(edev->ofdev.node->name, WD_OBPNAME)) |
759 | goto ebus_done; | 759 | goto ebus_done; |
760 | } | 760 | } |
761 | } | 761 | } |