| Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| Sylwester Nawrocki | 34947b8 | 2013-12-20 19:35:06 -0300 | [diff] [blame] | 2 | /* |
| 3 | * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver |
| 4 | * |
| 5 | * Copyright (C) 2013 Samsung Electronics Co., Ltd. |
| 6 | * Sylwester Nawrocki <s.nawrocki@samsung.com> |
| Sylwester Nawrocki | 34947b8 | 2013-12-20 19:35:06 -0300 | [diff] [blame] | 7 | */ |
| 8 | #ifndef FIMC_ISP_VIDEO__ |
| 9 | #define FIMC_ISP_VIDEO__ |
| 10 | |
| Junghak Sung | c139990 | 2015-09-22 10:30:29 -0300 | [diff] [blame] | 11 | #include <media/videobuf2-v4l2.h> |
| Sylwester Nawrocki | 34947b8 | 2013-12-20 19:35:06 -0300 | [diff] [blame] | 12 | #include "fimc-isp.h" |
| 13 | |
| 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); |
| 18 | |
| 19 | void fimc_isp_video_device_unregister(struct fimc_isp *isp, |
| 20 | enum v4l2_buf_type type); |
| 21 | |
| 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) |
| 25 | { |
| 26 | } |
| 27 | |
| 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) |
| 31 | { |
| 32 | return 0; |
| 33 | } |
| 34 | |
| 35 | void fimc_isp_video_device_unregister(struct fimc_isp *isp, |
| 36 | enum v4l2_buf_type type) |
| 37 | { |
| 38 | } |
| 39 | #endif /* !CONFIG_VIDEO_EXYNOS4_ISP_DMA_CAPTURE */ |
| 40 | |
| 41 | #endif /* FIMC_ISP_VIDEO__ */ |