diff options
Diffstat (limited to 'drivers/edac')
-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) | |||
612 | if (!np) | 612 | if (!np) |
613 | return; | 613 | return; |
614 | 614 | ||
615 | reg = get_property(np, "reg", NULL); | 615 | reg = of_get_property(np, "reg", NULL); |
616 | 616 | ||
617 | pdata->total_mem = reg[1]; | 617 | pdata->total_mem = reg[1]; |
618 | } | 618 | } |