[media] coda: make to_coda_video_device static
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 2 Dec 2015 16:58:50 +0000 (14:58 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 23 Dec 2015 16:00:53 +0000 (14:00 -0200)
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>
drivers/media/platform/coda/coda-common.c

index cf5be54d462d9d546d7ea121cc89f6829ce8b139..3c6bc1c6fdcc91d22fee5bbc22574617a57a6c8a 100644 (file)
@@ -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;