projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
driver-core: Add device node pointer to struct device
[deliverable/linux.git]
/
arch
/
powerpc
/
kernel
/
of_device.c
diff --git
a/arch/powerpc/kernel/of_device.c
b/arch/powerpc/kernel/of_device.c
index a359cb08e9006168a60ba87b9e34df0c02256d51..9577e6f4e3bf7deb9605e5447faa1336950dfea7 100644
(file)
--- 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,
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, "%s", bus_id);
This page took
0.10481 seconds
and
5
git commands to generate.