1
0
Fork 0

[media] coda: make to_coda_video_device static

This function is not used outside coda-common.c.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
hifive-unleashed-5.1
Philipp Zabel 2015-12-02 14:58:50 -02:00 committed by Mauro Carvalho Chehab
parent 54774f8600
commit 5542570ea9
1 changed files with 2 additions and 1 deletions

View File

@ -293,7 +293,8 @@ static void coda_get_max_dimensions(struct coda_dev *dev,
*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);
unsigned int i = vdev - dev->vfd;