d2912cb15b
Based on 2 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation # extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 4122 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Enrico Weigelt <info@metux.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
42 lines
1.0 KiB
C
42 lines
1.0 KiB
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver
|
|
*
|
|
* Copyright (C) 2013 Samsung Electronics Co., Ltd.
|
|
* Sylwester Nawrocki <s.nawrocki@samsung.com>
|
|
*/
|
|
#ifndef FIMC_ISP_VIDEO__
|
|
#define FIMC_ISP_VIDEO__
|
|
|
|
#include <media/videobuf2-v4l2.h>
|
|
#include "fimc-isp.h"
|
|
|
|
#ifdef CONFIG_VIDEO_EXYNOS4_ISP_DMA_CAPTURE
|
|
int fimc_isp_video_device_register(struct fimc_isp *isp,
|
|
struct v4l2_device *v4l2_dev,
|
|
enum v4l2_buf_type type);
|
|
|
|
void fimc_isp_video_device_unregister(struct fimc_isp *isp,
|
|
enum v4l2_buf_type type);
|
|
|
|
void fimc_isp_video_irq_handler(struct fimc_is *is);
|
|
#else
|
|
static inline void fimc_isp_video_irq_handler(struct fimc_is *is)
|
|
{
|
|
}
|
|
|
|
static inline int fimc_isp_video_device_register(struct fimc_isp *isp,
|
|
struct v4l2_device *v4l2_dev,
|
|
enum v4l2_buf_type type)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
void fimc_isp_video_device_unregister(struct fimc_isp *isp,
|
|
enum v4l2_buf_type type)
|
|
{
|
|
}
|
|
#endif /* !CONFIG_VIDEO_EXYNOS4_ISP_DMA_CAPTURE */
|
|
|
|
#endif /* FIMC_ISP_VIDEO__ */
|