162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright (C) 2013 Samsung Electronics Co., Ltd.
662306a36Sopenharmony_ci * Sylwester Nawrocki <s.nawrocki@samsung.com>
762306a36Sopenharmony_ci */
862306a36Sopenharmony_ci#ifndef FIMC_ISP_VIDEO__
962306a36Sopenharmony_ci#define FIMC_ISP_VIDEO__
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#include <media/videobuf2-v4l2.h>
1262306a36Sopenharmony_ci#include "fimc-isp.h"
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci#ifdef CONFIG_VIDEO_EXYNOS4_ISP_DMA_CAPTURE
1562306a36Sopenharmony_ciint fimc_isp_video_device_register(struct fimc_isp *isp,
1662306a36Sopenharmony_ci				struct v4l2_device *v4l2_dev,
1762306a36Sopenharmony_ci				enum v4l2_buf_type type);
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_civoid fimc_isp_video_device_unregister(struct fimc_isp *isp,
2062306a36Sopenharmony_ci				enum v4l2_buf_type type);
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_civoid fimc_isp_video_irq_handler(struct fimc_is *is);
2362306a36Sopenharmony_ci#else
2462306a36Sopenharmony_cistatic inline void fimc_isp_video_irq_handler(struct fimc_is *is)
2562306a36Sopenharmony_ci{
2662306a36Sopenharmony_ci}
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_cistatic inline int fimc_isp_video_device_register(struct fimc_isp *isp,
2962306a36Sopenharmony_ci						struct v4l2_device *v4l2_dev,
3062306a36Sopenharmony_ci						enum v4l2_buf_type type)
3162306a36Sopenharmony_ci{
3262306a36Sopenharmony_ci	return 0;
3362306a36Sopenharmony_ci}
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_cistatic inline void fimc_isp_video_device_unregister(struct fimc_isp *isp,
3662306a36Sopenharmony_ci				enum v4l2_buf_type type)
3762306a36Sopenharmony_ci{
3862306a36Sopenharmony_ci}
3962306a36Sopenharmony_ci#endif /* !CONFIG_VIDEO_EXYNOS4_ISP_DMA_CAPTURE */
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ci#endif /* FIMC_ISP_VIDEO__ */
42