Skip to content

Commit

Permalink
drm: ipuv3: fix missing ret
Browse files Browse the repository at this point in the history
Add back the ret variable which was removed during the v5.4.59 merge by
accident.

This fixes a build failure for devices enabling drm/imx/ipuv3.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
  • Loading branch information
ricardosalveti committed Aug 28, 2020
1 parent 0bd9fbb commit 4b4933f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/imx/ipuv3/ipuv3-crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ static int ipu_drm_bind(struct device *dev, struct device *master, void *data)
struct ipu_client_platformdata *pdata = dev->platform_data;
struct drm_device *drm = data;
struct ipu_crtc *ipu_crtc;
int ret;

ipu_crtc = dev_get_drvdata(dev);
memset(ipu_crtc, 0, sizeof(*ipu_crtc));
Expand Down

0 comments on commit 4b4933f

Please sign in to comment.