From: Mauro Carvalho Chehab Date: Fri, 23 May 2014 17:29:44 +0000 (-0300) Subject: upstream: [media] em28xx: make em28xx_free_v4l2 static() X-Git-Tag: submit/tizen/20141121.110247~721 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=432a99715770b8c53782dc08a371b9f70fd57862;p=platform%2Fkernel%2Flinux-3.10.git upstream: [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 4644b13..b12955c 100644 --- a/drivers/media/usb/em28xx/em28xx-video.c +++ b/drivers/media/usb/em28xx/em28xx-video.c @@ -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);