edac: mv64x60 fix get_property

Update get_property() call to use of_get_property() in order to fix compile

Signed-off-by: Dave Jiang <[email protected]>
Signed-off-by: Doug Thompson <dougthompson.com>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Dave Jiang 2008-07-25 01:49:13 -07:00 • committed by Linus Torvalds
commit 596d394103

View file

@ -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];
}