aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/of/platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/of/platform.c')
-rw-r--r--drivers/of/platform.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/of/platform.c b/drivers/of/platform.c
index d90a02d89f51..6c48d73a7fd7 100644
--- a/drivers/of/platform.c
+++ b/drivers/of/platform.c
@@ -138,9 +138,6 @@ struct platform_device *of_device_alloc(struct device_node *np,
138 } 138 }
139 139
140 dev->dev.of_node = of_node_get(np); 140 dev->dev.of_node = of_node_get(np);
141#if defined(CONFIG_MICROBLAZE)
142 dev->dev.dma_mask = &dev->archdata.dma_mask;
143#endif
144 dev->dev.parent = parent; 141 dev->dev.parent = parent;
145 142
146 if (bus_id) 143 if (bus_id)