diff options
author | Rob Clark <robdclark@gmail.com> | 2014-08-04 21:45:16 +0200 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2014-08-26 16:43:31 +0200 |
commit | 12313c2aa81d669493c60438e42571d0b8e850c4 (patch) | |
tree | aafc059558fe9ebb3838ef5967c29864b941f84d /drivers/gpu | |
parent | drm/msm/mdp4: request vblank during modeset (diff) | |
download | linux-12313c2aa81d669493c60438e42571d0b8e850c4.tar.xz linux-12313c2aa81d669493c60438e42571d0b8e850c4.zip |
drm/msm: fix compile error for non-dt builds
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/msm/msm_drv.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; } |