From: David S. Miller Date: Sun, 25 Jun 2006 07:11:21 +0000 (-0700) Subject: [CPWATCHDOG]: Fix the build. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1715f5ef0db94d12d9131d5afa9134e26f77529f;p=linux-beck.git [CPWATCHDOG]: Fix the build. Signed-off-by: David S. Miller --- diff --git a/drivers/sbus/char/cpwatchdog.c b/drivers/sbus/char/cpwatchdog.c index 5bf3dd901b65..21737b7e86a1 100644 --- a/drivers/sbus/char/cpwatchdog.c +++ b/drivers/sbus/char/cpwatchdog.c @@ -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; } }