Skip to content

Commit

Permalink
[media] coda: make to_coda_video_device static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Philipp Zabel authored and Mauro Carvalho Chehab committed Dec 23, 2015
1 parent 54774f8 commit 5542570
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/media/platform/coda/coda-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5542570

Please sign in to comment.