diff options
author | Rob Clark <robdclark@gmail.com> | 2014-08-04 15:45:16 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2014-08-26 10:43:31 -0400 |
commit | 12313c2aa81d669493c60438e42571d0b8e850c4 (patch) | |
tree | aafc059558fe9ebb3838ef5967c29864b941f84d /drivers/gpu | |
parent | 119ecb7fd3b5d072c2b29d4d030c623840554d71 (diff) | |
download | linux-12313c2aa81d669493c60438e42571d0b8e850c4.tar.gz linux-12313c2aa81d669493c60438e42571d0b8e850c4.tar.bz2 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; } |