diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2015-12-02 19:58:50 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-12-23 19:00:53 +0300 |
commit | 5542570ea9e7dfbd699dce3d542761926ef26712 (patch) | |
tree | 7525dd856e5a620e1cf8d17349db8e6b6508d891 /drivers/media/platform/coda | |
parent | 54774f8600687d03f74bc30295b9596be3e05e5a (diff) | |
download | linux-5542570ea9e7dfbd699dce3d542761926ef26712.tar.xz |
[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, *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; |