]> Pileus Git - ~andy/linux/commitdiff
[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 5bf3dd901b65db04b6cb6b1c14b052b06aa2884c..21737b7e86a1ccbe78647347625b94e9fc7b74b5 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;
                }
        }