2008-06-27 18:26:47

by dougthompson

[permalink] [raw]
Subject: [PATCH 12/13] EDAC mv64x60 fix get_property

Update get_property() call to use of_get_property() in order to fix compile

Signed-off-by: Dave Jiang <[email protected]>

Index: 2.6.26-rc5-mm3/drivers/edac/mv64x60_edac.c
===================================================================
--- 2.6.26-rc5-mm3.orig/drivers/edac/mv64x60_edac.c
+++ 2.6.26-rc5-mm3/drivers/edac/mv64x60_edac.c
@@ -612,7 +612,7 @@ static void get_total_mem(struct mv64x60
if (!np)
return;

- reg = get_property(np, "reg", NULL);
+ reg = of_get_property(np, "reg", NULL);

pdata->total_mem = reg[1];
}