summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/uvc/uvcvideo.h
diff options
context:
space:
mode:
authorJaejoong Kim <climbbb.kim@gmail.com>2017-01-12 02:31:21 +0100
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-01-31 13:56:48 +0100
commit39dc3aaeec638f1f5399777eea5e21dd5a699f46 (patch)
tree8c18f7a7225c3b6b1641e0382acce3a421c7f39b /drivers/media/usb/uvc/uvcvideo.h
parent[media] uvcvideo: Fix a wrong macro (diff)
downloadlinux-39dc3aaeec638f1f5399777eea5e21dd5a699f46.tar.xz
linux-39dc3aaeec638f1f5399777eea5e21dd5a699f46.zip
[media] uvcvideo: Change result code of debugfs_init to void
The device driver should keep going even if debugfs initialization fails. So, change the return type to void. Signed-off-by: Jaejoong Kim <climbbb.kim@gmail.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to '')
-rw-r--r--drivers/media/usb/uvc/uvcvideo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/usb/uvc/uvcvideo.h b/drivers/media/usb/uvc/uvcvideo.h
index 3d6cc62f3cd2..4205e7a423f0 100644
--- a/drivers/media/usb/uvc/uvcvideo.h
+++ b/drivers/media/usb/uvc/uvcvideo.h
@@ -757,9 +757,9 @@ void uvc_video_decode_isight(struct urb *urb, struct uvc_streaming *stream,
struct uvc_buffer *buf);
/* debugfs and statistics */
-int uvc_debugfs_init(void);
+void uvc_debugfs_init(void);
void uvc_debugfs_cleanup(void);
-int uvc_debugfs_init_stream(struct uvc_streaming *stream);
+void uvc_debugfs_init_stream(struct uvc_streaming *stream);
void uvc_debugfs_cleanup_stream(struct uvc_streaming *stream);
size_t uvc_video_stats_dump(struct uvc_streaming *stream, char *buf,