diff options
author | Jon Medhurst <tixy@linaro.org> | 2016-08-22 13:17:36 +0100 |
---|---|---|
committer | Ryan Harkin <ryan.harkin@linaro.org> | 2017-05-11 11:26:28 +0100 |
commit | 30f26befde242c1217e7f13ce541c94a690f5a01 (patch) | |
tree | 22e6bebaaad5d5cc7eaa4d5f1343b66fa4fd59c1 | |
parent | cb9ceb4c35cd6256298b1884efe3997e505a27a4 (diff) |
drm: hdlcd: Update for API changes in 4.4
Update HDLCD driver for changes in
commit 88e72717c2de ("drm/irq: Use unsigned int pipe in public API")
Signed-off-by: Jon Medhurst <tixy@linaro.org>
-rw-r--r-- | drivers/gpu/drm/arm/hdlcd_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/arm/hdlcd_drv.c b/drivers/gpu/drm/arm/hdlcd_drv.c index 4d4c3ec6d030..93f2c0db183e 100644 --- a/drivers/gpu/drm/arm/hdlcd_drv.c +++ b/drivers/gpu/drm/arm/hdlcd_drv.c @@ -326,7 +326,7 @@ static void hdlcd_irq_uninstall(struct drm_device *dev) hdlcd_write(hdlcd, HDLCD_REG_INT_MASK, irq_mask); } -static int hdlcd_enable_vblank(struct drm_device *dev, int crtc) +static int hdlcd_enable_vblank(struct drm_device *dev, unsigned int pipe) { struct hdlcd_drm_private *hdlcd = dev->dev_private; unsigned int mask = hdlcd_read(hdlcd, HDLCD_REG_INT_MASK); @@ -336,7 +336,7 @@ static int hdlcd_enable_vblank(struct drm_device *dev, int crtc) return 0; } -static void hdlcd_disable_vblank(struct drm_device *dev, int crtc) +static void hdlcd_disable_vblank(struct drm_device *dev, unsigned int pipe) { struct hdlcd_drm_private *hdlcd = dev->dev_private; unsigned int mask = hdlcd_read(hdlcd, HDLCD_REG_INT_MASK); |