aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/s5p-g2d/g2d.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/platform/s5p-g2d/g2d.c')
-rw-r--r--drivers/media/platform/s5p-g2d/g2d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-g2d/g2d.c b/drivers/media/platform/s5p-g2d/g2d.c
index 1e3b9dd014c0..1bfbc325836b 100644
--- a/drivers/media/platform/s5p-g2d/g2d.c
+++ b/drivers/media/platform/s5p-g2d/g2d.c
@@ -507,7 +507,7 @@ static int vidioc_g_crop(struct file *file, void *prv, struct v4l2_crop *cr)
507 return 0; 507 return 0;
508} 508}
509 509
510static int vidioc_try_crop(struct file *file, void *prv, struct v4l2_crop *cr) 510static int vidioc_try_crop(struct file *file, void *prv, const struct v4l2_crop *cr)
511{ 511{
512 struct g2d_ctx *ctx = prv; 512 struct g2d_ctx *ctx = prv;
513 struct g2d_dev *dev = ctx->dev; 513 struct g2d_dev *dev = ctx->dev;