summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2015-02-05 14:16:26 +0100
committerFelipe Balbi <balbi@ti.com>2015-02-23 16:23:46 +0100
commit1f754ef10350681f3dc1980d357e77487d308c52 (patch)
treea0efd0e8212ad7f1342fcab0ffa4e6fcd2ccc235 /drivers
parentusb: gadget: gadgetfs: fix sparse warnings (diff)
downloadlinux-1f754ef10350681f3dc1980d357e77487d308c52.tar.xz
linux-1f754ef10350681f3dc1980d357e77487d308c52.zip
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')
-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