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: v5.15~16194^2~10^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f754ef10350681f3dc1980d357e77487d308c52;p=platform%2Fkernel%2Flinux-starfive.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 5aad7fe..8b818fd 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