From: Andy Doan Date: Wed, 6 Jul 2011 17:08:29 +0000 (-0500) Subject: OMAPFB: make debug message more useful X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c5f18d7babcb5a0822377f24d478bdaed6241770;p=mv-sheeva.git 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 Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/video/omap2/omapfb/omapfb-main.c b/drivers/video/omap2/omapfb/omapfb-main.c index 602b71a92d3..e5a64b38e52 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; }