treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / usb / gadget / function / uvc_video.h
blobdff12103f696997963c81352959e0f56a374cbc9
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * uvc_video.h -- USB Video Class Gadget driver
5 * Copyright (C) 2009-2010
6 * Laurent Pinchart (laurent.pinchart@ideasonboard.com)
8 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
9 * http://www.samsung.com
10 * Author: Andrzej Pietrasiewicz <andrzejtp2010@gmail.com>
12 #ifndef __UVC_VIDEO_H__
13 #define __UVC_VIDEO_H__
15 struct uvc_video;
17 int uvcg_video_pump(struct uvc_video *video);
19 int uvcg_video_enable(struct uvc_video *video, int enable);
21 int uvcg_video_init(struct uvc_video *video, struct uvc_device *uvc);
23 #endif /* __UVC_VIDEO_H__ */