Merge tag 'regmap-fix-v5.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux/fpc-iii.git] / drivers / media / platform / exynos4-is / fimc-isp-video.h
blobedcb3a5e3cb9057abe15332c86ef675c4b59d082
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver
5 * Copyright (C) 2013 Samsung Electronics Co., Ltd.
6 * Sylwester Nawrocki <s.nawrocki@samsung.com>
7 */
8 #ifndef FIMC_ISP_VIDEO__
9 #define FIMC_ISP_VIDEO__
11 #include <media/videobuf2-v4l2.h>
12 #include "fimc-isp.h"
14 #ifdef CONFIG_VIDEO_EXYNOS4_ISP_DMA_CAPTURE
15 int fimc_isp_video_device_register(struct fimc_isp *isp,
16 struct v4l2_device *v4l2_dev,
17 enum v4l2_buf_type type);
19 void fimc_isp_video_device_unregister(struct fimc_isp *isp,
20 enum v4l2_buf_type type);
22 void fimc_isp_video_irq_handler(struct fimc_is *is);
23 #else
24 static inline void fimc_isp_video_irq_handler(struct fimc_is *is)
28 static inline int fimc_isp_video_device_register(struct fimc_isp *isp,
29 struct v4l2_device *v4l2_dev,
30 enum v4l2_buf_type type)
32 return 0;
35 void fimc_isp_video_device_unregister(struct fimc_isp *isp,
36 enum v4l2_buf_type type)
39 #endif /* !CONFIG_VIDEO_EXYNOS4_ISP_DMA_CAPTURE */
41 #endif /* FIMC_ISP_VIDEO__ */