[PATCH] devfs: Remove the devfs_fs_kernel.h file from the tree
[powerpc.git] / 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;
                }
        }