From: Mauro Carvalho Chehab Date: Fri, 23 May 2014 17:29:44 +0000 (-0300) Subject: [media] em28xx: make em28xx_free_v4l2 static() X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=f472c0b59f4e06c62d855a6158b9afb313ec6400;p=deliverable%2Flinux.git [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 --- 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);