]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[RIOWATCHDOG]: Fix the build.
authorDavid S. Miller <davem@sunset.davemloft.net>
Sun, 25 Jun 2006 07:17:11 +0000 (00:17 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 26 Jun 2006 06:14:57 +0000 (23:14 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/sbus/char/riowatchdog.c

index d1babff6a53502e10e6c5976f9c98bfc266c11e5..2a9cc82044292d074b5b3a35d3e8d86f06a43587 100644 (file)
@@ -211,7 +211,7 @@ static int __init riowd_bbc_init(void)
 
        for_each_ebus(ebus) {
                for_each_ebusdev(edev, ebus) {
-                       if (!strcmp(edev->prom_name, "bbc"))
+                       if (!strcmp(edev->ofdev.node->name, "bbc"))
                                goto found_bbc;
                }
        }
@@ -238,7 +238,7 @@ static int __init riowd_init(void)
 
        for_each_ebus(ebus) {
                for_each_ebusdev(edev, ebus) {
-                       if (!strcmp(edev->prom_name, RIOWD_NAME))
+                       if (!strcmp(edev->ofdev.node->name, RIOWD_NAME))
                                goto ebus_done;
                }
        }