From: Dave Jiang Date: Fri, 25 Jul 2008 08:49:13 +0000 (-0700) Subject: edac: mv64x60 fix get_property X-Git-Tag: v2.6.27-rc1~227 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=596d3941035d4d4b484c820f10f57fd4816c6615;p=linux-2.6-omap-h63xx.git edac: mv64x60 fix get_property Update get_property() call to use of_get_property() in order to fix compile Signed-off-by: Dave Jiang Signed-off-by: Doug Thompson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/edac/mv64x60_edac.c b/drivers/edac/mv64x60_edac.c index bf071f140a0..de69163ff5b 100644 --- a/drivers/edac/mv64x60_edac.c +++ b/drivers/edac/mv64x60_edac.c @@ -612,7 +612,7 @@ static void get_total_mem(struct mv64x60_mc_pdata *pdata) if (!np) return; - reg = get_property(np, "reg", NULL); + reg = of_get_property(np, "reg", NULL); pdata->total_mem = reg[1]; }