From: Lad, Prabhakar Date: Thu, 5 Feb 2015 13:16:26 +0000 (+0000) Subject: usb: gadget: function: uvc_v4l2.c: fix sparse warnings X-Git-Tag: v4.0-rc3~2^2~10^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1f754ef10350681f3dc1980d357e77487d308c52;p=thirdparty%2Fkernel%2Flinux.git usb: gadget: function: uvc_v4l2.c: fix sparse warnings this patch fixes following sparse warnings: uvc_v4l2.c:264:29: warning: symbol 'uvc_v4l2_ioctl_ops' was not declared. Should it be static? uvc_v4l2.c:355:29: warning: symbol 'uvc_v4l2_fops' was not declared. Should it be static? Acked-by: Laurent Pinchart Signed-off-by: Lad, Prabhakar Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/function/uvc_v4l2.c b/drivers/usb/gadget/function/uvc_v4l2.c index 5aad7fededa58..8b818fd027b33 100644 --- a/drivers/usb/gadget/function/uvc_v4l2.c +++ b/drivers/usb/gadget/function/uvc_v4l2.c @@ -27,6 +27,7 @@ #include "uvc.h" #include "uvc_queue.h" #include "uvc_video.h" +#include "uvc_v4l2.h" /* -------------------------------------------------------------------------- * Requests handling