From f472c0b59f4e06c62d855a6158b9afb313ec6400 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Fri, 23 May 2014 14:29:44 -0300 Subject: [PATCH] [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 --- drivers/media/usb/em28xx/em28xx-video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/em28xx-video.c index b9b9775aa9c4..0f8501f39fa7 100644 --- a/drivers/media/usb/em28xx/em28xx-video.c +++ b/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); -- 2.20.1