diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2015-12-02 11:58:50 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-12-23 11:00:53 -0500 |
commit | 5542570ea9e7dfbd699dce3d542761926ef26712 (patch) | |
tree | 7525dd856e5a620e1cf8d17349db8e6b6508d891 /drivers/media/platform/coda | |
parent | 54774f8600687d03f74bc30295b9596be3e05e5a (diff) |
[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>
Diffstat (limited to 'drivers/media/platform/coda')
-rw-r--r-- | drivers/media/platform/coda/coda-common.c | 3 |
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 | ||
296 | const struct coda_video_device *to_coda_video_device(struct video_device *vdev) | 296 | static 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; |