From: Rob Clark Date: Mon, 4 Aug 2014 19:45:16 +0000 (-0400) Subject: drm/msm: fix compile error for non-dt builds X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=12313c2aa81d669493c60438e42571d0b8e850c4;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git drm/msm: fix compile error for non-dt builds Signed-off-by: Rob Clark --- diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index b447c01ad89c..26ee80db17af 100644 --- a/drivers/gpu/drm/msm/msm_drv.c +++ b/drivers/gpu/drm/msm/msm_drv.c @@ -974,12 +974,11 @@ static int msm_pdev_probe(struct platform_device *pdev) for (i = 0; i < ARRAY_SIZE(devnames); i++) { struct device *dev; - int ret; dev = bus_find_device_by_name(&platform_bus_type, NULL, devnames[i]); if (!dev) { - dev_info(master, "still waiting for %s\n", devnames[i]); + dev_info(&pdev->dev, "still waiting for %s\n", devnames[i]); return -EPROBE_DEFER; }