Skip to content

Commit

Permalink
edac: mv64x60 fix get_property
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dave Jiang authored and Linus Torvalds committed Jul 25, 2008
1 parent 10d33e9 commit 596d394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/edac/mv64x60_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
Expand Down

0 comments on commit 596d394

Please sign in to comment.