From: David S. Miller Date: Sun, 25 Jun 2006 07:11:21 +0000 (-0700) Subject: [CPWATCHDOG]: Fix the build. X-Git-Tag: v2.6.18-rc1~613^2~11 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1715f5ef0db94d12d9131d5afa9134e26f77529f;p=linux-2.6-omap-h63xx.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 5bf3dd901b6..21737b7e86a 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; } }