Commit 596d3941 authored by Dave Jiang's avatar Dave Jiang Committed by Linus Torvalds

edac: mv64x60 fix get_property

Update get_property() call to use of_get_property() in order to fix compile
Signed-off-by: default avatarDave Jiang <djiang@mvista.com>
Signed-off-by: Doug Thompson <dougthompson.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 10d33e9c
...@@ -612,7 +612,7 @@ static void get_total_mem(struct mv64x60_mc_pdata *pdata) ...@@ -612,7 +612,7 @@ static void get_total_mem(struct mv64x60_mc_pdata *pdata)
if (!np) if (!np)
return; return;
reg = get_property(np, "reg", NULL); reg = of_get_property(np, "reg", NULL);
pdata->total_mem = reg[1]; pdata->total_mem = reg[1];
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment