summaryrefslogtreecommitdiff
path: root/drivers/video/omap2/omapfb/omapfb-main.c
diff options
context:
space:
mode:
authorAndy Doan <andy.doan@linaro.org>2011-07-06 12:08:29 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-09-14 18:08:24 +0300
commitc5f18d7babcb5a0822377f24d478bdaed6241770 (patch)
tree44444a541a9a5a120f97dfd779e91294d3ea89ae /drivers/video/omap2/omapfb/omapfb-main.c
parent13eae1f98255bddcbfe27ae4bd58fe3dc374bc0b (diff)
downloadlwn-c5f18d7babcb5a0822377f24d478bdaed6241770.tar.gz
lwn-c5f18d7babcb5a0822377f24d478bdaed6241770.zip
OMAPFB: make debug message more useful
Make the debug message useful by printing the name of the device that no associated driver could be found for. Signed-off-by: Andy Doan <andy.doan@linaro.org> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/omapfb/omapfb-main.c')
-rw-r--r--drivers/video/omap2/omapfb/omapfb-main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/omap2/omapfb/omapfb-main.c b/drivers/video/omap2/omapfb/omapfb-main.c
index 602b71a92d3c..e5a64b38e52a 100644
--- a/drivers/video/omap2/omapfb/omapfb-main.c
+++ b/drivers/video/omap2/omapfb/omapfb-main.c
@@ -2373,7 +2373,8 @@ static int omapfb_probe(struct platform_device *pdev)
omap_dss_get_device(dssdev);
if (!dssdev->driver) {
- dev_err(&pdev->dev, "no driver for display\n");
+ dev_err(&pdev->dev, "no driver for display: %s\n",
+ dssdev->name);
r = -ENODEV;
}