projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
of/platform: Inform about created platform devices using pr_debug()
[linux-2.6-microblaze.git]
/
drivers
/
of
/
platform.c
diff --git
a/drivers/of/platform.c
b/drivers/of/platform.c
index
b7708a0
..
ba964df
100644
(file)
--- a/
drivers/of/platform.c
+++ b/
drivers/of/platform.c
@@
-166,6
+166,8
@@
static struct platform_device *of_platform_device_create_pdata(
{
struct platform_device *dev;
+ pr_debug("create platform device: %pOF\n", np);
+
if (!of_device_is_available(np) ||
of_node_test_and_set_flag(np, OF_POPULATED))
return NULL;