projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
of: unify phandle name in struct device_node
[firefly-linux-kernel-4.4.55.git]
/
arch
/
microblaze
/
kernel
/
of_platform.c
diff --git
a/arch/microblaze/kernel/of_platform.c
b/arch/microblaze/kernel/of_platform.c
index acf4574d0f188fd7fd99fec2ab911b8a4d0e446e..1c6d684996d7eae768686ba88945e79148180c74 100644
(file)
--- a/
arch/microblaze/kernel/of_platform.c
+++ b/
arch/microblaze/kernel/of_platform.c
@@
-185,7
+185,7
@@
EXPORT_SYMBOL(of_find_device_by_node);
static int of_dev_phandle_match(struct device *dev, void *data)
{
phandle *ph = data;
- return to_of_device(dev)->node->
linux_
phandle == *ph;
+ return to_of_device(dev)->node->phandle == *ph;
}
struct of_device *of_find_device_by_phandle(phandle ph)