aboutsummaryrefslogtreecommitdiff
path: root/arch/microblaze/kernel/of_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/kernel/of_device.c')
-rw-r--r--arch/microblaze/kernel/of_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/of_device.c b/arch/microblaze/kernel/of_device.c
index ac7e6e10d0a..b372787886e 100644
--- a/arch/microblaze/kernel/of_device.c
+++ b/arch/microblaze/kernel/of_device.c
@@ -50,7 +50,7 @@ struct of_device *of_device_alloc(struct device_node *np,
return NULL;
dev->dev.of_node = of_node_get(np);
- dev->dev.dma_mask = &dev->dma_mask;
+ dev->dev.dma_mask = &dev->archdata.dma_mask;
dev->dev.parent = parent;
dev->dev.release = of_release_dev;