Commit 596d3941035d4d4b484c820f10f57fd4816c6615

Authored by Dave Jiang
Committed by Linus Torvalds
1 parent 10d33e9c36

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/edac/mv64x60_edac.c
... ... @@ -612,7 +612,7 @@
612 612 if (!np)
613 613 return;
614 614  
615   - reg = get_property(np, "reg", NULL);
  615 + reg = of_get_property(np, "reg", NULL);
616 616  
617 617 pdata->total_mem = reg[1];
618 618 }