diff options
Diffstat (limited to 'arch/powerpc/kernel/of_device.c')
-rw-r--r-- | arch/powerpc/kernel/of_device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/of_device.c b/arch/powerpc/kernel/of_device.c index a359cb08e900..9577e6f4e3bf 100644 --- a/arch/powerpc/kernel/of_device.c +++ b/arch/powerpc/kernel/of_device.c | |||
@@ -74,6 +74,7 @@ struct of_device *of_device_alloc(struct device_node *np, | |||
74 | dev->dev.parent = parent; | 74 | dev->dev.parent = parent; |
75 | dev->dev.release = of_release_dev; | 75 | dev->dev.release = of_release_dev; |
76 | dev->dev.archdata.of_node = np; | 76 | dev->dev.archdata.of_node = np; |
77 | dev->dev.of_node = np; | ||
77 | 78 | ||
78 | if (bus_id) | 79 | if (bus_id) |
79 | dev_set_name(&dev->dev, "%s", bus_id); | 80 | dev_set_name(&dev->dev, "%s", bus_id); |