upstream: [media] em28xx: make em28xx_free_v4l2 static()
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 17:29:44 +0000 (14:29 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:59:23 +0000 (11:59 +0900)
Changeset 95d2608b88 created this function, but declared it as
global, by mistake.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-video.c

index 4644b13..b12955c 100644 (file)
@@ -1878,7 +1878,7 @@ static int radio_s_tuner(struct file *file, void *priv,
  *
  * Called when all users of struct em28xx_v4l2 are gone
  */
-void em28xx_free_v4l2(struct kref *ref)
+static void em28xx_free_v4l2(struct kref *ref)
 {
        struct em28xx_v4l2 *v4l2 = container_of(ref, struct em28xx_v4l2, ref);