summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-clps711x/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-clps711x/common.c')
-rw-r--r--arch/arm/mach-clps711x/common.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-clps711x/common.c b/arch/arm/mach-clps711x/common.c
index c0b817872d..dcb97ad236 100644
--- a/arch/arm/mach-clps711x/common.c
+++ b/arch/arm/mach-clps711x/common.c
@@ -115,18 +115,18 @@ static int clps711x_bus_probe(struct device_d *dev)
u32 mcfg;
/* Setup bus timings */
- if (!of_property_read_u32(dev->device_node,
+ if (!of_property_read_u32(dev->of_node,
"barebox,ep7209-memcfg1", &mcfg))
writel(mcfg, MEMCFG1);
- if (!of_property_read_u32(dev->device_node,
+ if (!of_property_read_u32(dev->of_node,
"barebox,ep7209-memcfg2", &mcfg))
writel(mcfg, MEMCFG2);
- clps711x_bus_patch(dev->device_node, 0, CLPS711X_MAP_ADDR);
+ clps711x_bus_patch(dev->of_node, 0, CLPS711X_MAP_ADDR);
- of_platform_populate(dev->device_node, NULL, dev);
+ of_platform_populate(dev->of_node, NULL, dev);
- of_register_fixup(clps711x_bus_fixup, dev->device_node);
+ of_register_fixup(clps711x_bus_fixup, dev->of_node);
return 0;
}