提交 596d3941 编写于 作者: D Dave Jiang 提交者: Linus Torvalds

edac: mv64x60 fix get_property

Update get_property() call to use of_get_property() in order to fix compile
Signed-off-by: NDave Jiang <djiang@mvista.com>
Signed-off-by: Doug Thompson <dougthompson.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 10d33e9c
......@@ -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];
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册