of/platform: Inform about created platform devices using pr_debug()
[linux-2.6-microblaze.git] / drivers / of / platform.c
index b7708a0..ba964df 100644 (file)
@@ -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;