summaryrefslogtreecommitdiffstats
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/of_device.c b/arch/microblaze/kernel/of_device.c
index 9a0f7632c47..f6c521898eb 100644
--- a/arch/microblaze/kernel/of_device.c
+++ b/arch/microblaze/kernel/of_device.c
@@ -54,6 +54,7 @@ struct of_device *of_device_alloc(struct device_node *np,
dev->dev.parent = parent;
dev->dev.release = of_release_dev;
dev->dev.archdata.of_node = np;
+ dev->dev.of_node = np;
if (bus_id)
dev_set_name(&dev->dev, bus_id);