Skip to content

Commit

Permalink
[RIOWATCHDOG]: Fix the build.
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jun 26, 2006
1 parent 1715f5e commit 95b0ce9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/sbus/char/riowatchdog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand All @@ -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;
}
}
Expand Down

0 comments on commit 95b0ce9

Please sign in to comment.