Ver Fonte

[media] em28xx: make em28xx_free_v4l2 static()

Changeset 95d2608b88 created this function, but declared it as
global, by mistake.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Mauro Carvalho Chehab há 11 anos atrás
pai
commit
f472c0b59f
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      drivers/media/usb/em28xx/em28xx-video.c

+ 1 - 1
drivers/media/usb/em28xx/em28xx-video.c

@@ -1872,7 +1872,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);