diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-06-25 00:17:11 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-25 23:14:57 -0700 |
commit | 95b0ce9d6d95819e65a7456261a0a5573b65ef1c (patch) | |
tree | 0ae3828ad55453b9292483017ab0b2b2ae880afa /drivers/sbus | |
parent | 1715f5ef0db94d12d9131d5afa9134e26f77529f (diff) | |
download | blackbird-op-linux-95b0ce9d6d95819e65a7456261a0a5573b65ef1c.tar.gz blackbird-op-linux-95b0ce9d6d95819e65a7456261a0a5573b65ef1c.zip |
[RIOWATCHDOG]: Fix the build.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sbus')
-rw-r--r-- | drivers/sbus/char/riowatchdog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/sbus/char/riowatchdog.c b/drivers/sbus/char/riowatchdog.c index d1babff6a535..2a9cc8204429 100644 --- a/drivers/sbus/char/riowatchdog.c +++ b/drivers/sbus/char/riowatchdog.c @@ -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; } } |