Commit 5542570e authored by Philipp Zabel's avatar Philipp Zabel Committed by Mauro Carvalho Chehab

[media] coda: make to_coda_video_device static

This function is not used outside coda-common.c.
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarKamil Debski <k.debski@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 54774f86
...@@ -293,7 +293,8 @@ static void coda_get_max_dimensions(struct coda_dev *dev, ...@@ -293,7 +293,8 @@ static void coda_get_max_dimensions(struct coda_dev *dev,
*max_h = h; *max_h = h;
} }
const struct coda_video_device *to_coda_video_device(struct video_device *vdev) static const struct coda_video_device *to_coda_video_device(struct video_device
*vdev)
{ {
struct coda_dev *dev = video_get_drvdata(vdev); struct coda_dev *dev = video_get_drvdata(vdev);
unsigned int i = vdev - dev->vfd; unsigned int i = vdev - dev->vfd;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment