diff options
author | Dave Jiang <djiang@mvista.com> | 2008-07-25 10:49:13 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 19:53:49 +0200 |
commit | 596d3941035d4d4b484c820f10f57fd4816c6615 (patch) | |
tree | 64a2321e151068b4304cd1ef8d8d29632aed60c4 /drivers | |
parent | edac: e752x fix too loud on nonmemory errors (diff) | |
download | linux-596d3941035d4d4b484c820f10f57fd4816c6615.tar.xz linux-596d3941035d4d4b484c820f10f57fd4816c6615.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/edac/mv64x60_edac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/mv64x60_edac.c b/drivers/edac/mv64x60_edac.c index bf071f140a05..de69163ff5b3 100644 --- a/drivers/edac/mv64x60_edac.c +++ b/drivers/edac/mv64x60_edac.c @@ -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]; } |