| Submitter | Grant Likely |
|---|---|
| Date | April 4, 2011, 8:54 p.m. |
| Message ID | <20110404205440.GB25557@ponder.secretlab.ca> |
| Download | mbox | patch |
| Permalink | /patch/89708/ |
| State | Not Applicable |
| Headers | show |
Comments
Patch
diff --git a/drivers/of/platform.c b/drivers/of/platform.c index c01cd1a..e9ac215 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c @@ -56,6 +56,8 @@ static int platform_driver_probe_shim(struct platform_device *pdev) * come up empty. Return -EINVAL in this case so other drivers get * the chance to bind. */ match = of_match_device(pdev->dev.driver->of_match_table, &pdev->dev); + dev_info(&pdev->dev, "match to of_platform_driver, node:%s\n", + pdev->dev.of_node ? pdev->dev.of_node->full_name : "!none!"); return match ? ofpdrv->probe(pdev, match) : -EINVAL; }