[CPWATCHDOG]: Fix the build.
authorDavid S. Miller <davem@sunset.davemloft.net>
Sun, 25 Jun 2006 07:11:21 +0000 (00:11 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 26 Jun 2006 06:14:55 +0000 (23:14 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/sbus/char/cpwatchdog.c

index 5bf3dd9..21737b7 100644 (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;
                }
        }