From: Philipp Zabel
Date: Wed, 2 Dec 2015 16:58:50 +0000 (-0200)
Subject: [media] coda: make to_coda_video_device static
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5542570ea9e7dfbd699dce3d542761926ef26712;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git
[media] coda: make to_coda_video_device static
This function is not used outside coda-common.c.
Signed-off-by: Philipp Zabel
Signed-off-by: Kamil Debski
Signed-off-by: Mauro Carvalho Chehab
---
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;