summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2015-02-05 13:16:26 +0000
committerFelipe Balbi <balbi@ti.com>2015-02-23 09:23:46 -0600
commit1f754ef10350681f3dc1980d357e77487d308c52 (patch)
treea0efd0e8212ad7f1342fcab0ffa4e6fcd2ccc235 /drivers/usb
parent2b87cd24c3451608d728862d4d62ff27f2d82e93 (diff)
downloadlinux-1f754ef10350681f3dc1980d357e77487d308c52.tar.bz2
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 <laurent.pinchart@ideasonboard.com> Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/function/uvc_v4l2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/function/uvc_v4l2.c b/drivers/usb/gadget/function/uvc_v4l2.c
index 5aad7fededa5..8b818fd027b3 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