diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2015-12-02 14:58:50 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-12-23 14:00:53 -0200 |
commit | 5542570ea9e7dfbd699dce3d542761926ef26712 (patch) | |
tree | 7525dd856e5a620e1cf8d17349db8e6b6508d891 | |
parent | 54774f8600687d03f74bc30295b9596be3e05e5a (diff) | |
download | op-kernel-dev-5542570ea9e7dfbd699dce3d542761926ef26712.zip op-kernel-dev-5542570ea9e7dfbd699dce3d542761926ef26712.tar.gz |
[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>
-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 cf5be54..3c6bc1c 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; |