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

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 <>
Signed-off-by: Doug Thompson <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 10d33e9c
......@@ -612,7 +612,7 @@ static void get_total_mem(struct mv64x60_mc_pdata *pdata)
if (!np)
reg = get_property(np, "reg", NULL);
reg = of_get_property(np, "reg", NULL);
pdata->total_mem = reg[1];
Supports Markdown
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