aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/coda/coda-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/platform/coda/coda-common.c')
-rw-r--r--drivers/media/platform/coda/coda-common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/platform/coda/coda-common.c b/drivers/media/platform/coda/coda-common.c
index cf5be54d462d..3c6bc1c6fdcc 100644
--- a/drivers/media/platform/coda/coda-common.c
+++ b/drivers/media/platform/coda/coda-common.c
@@ -293,7 +293,8 @@ static void coda_get_max_dimensions(struct coda_dev *dev,
293 *max_h = h; 293 *max_h = h;
294} 294}
295 295
296const struct coda_video_device *to_coda_video_device(struct video_device *vdev) 296static const struct coda_video_device *to_coda_video_device(struct video_device
297 *vdev)
297{ 298{
298 struct coda_dev *dev = video_get_drvdata(vdev); 299 struct coda_dev *dev = video_get_drvdata(vdev);
299 unsigned int i = vdev - dev->vfd; 300 unsigned int i = vdev - dev->vfd;