mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
edac: mv64x60 fix get_property
Update get_property() call to use of_get_property() in order to fix compile Signed-off-by: Dave Jiang <djiang@mvista.com> Signed-off-by: Doug Thompson <dougthompson.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
10d33e9c36
commit
596d394103
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue