[media] v4l2: bfin: Ensure delete and reinit list entry on NOMMU architecture
[linux-2.6/btrfs-unstable.git] / drivers / media / platform / exynos4-is / fimc-isp-video.h
blob98c662654bb618640e63deb07954d5c12decc506
1 /*
2 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver
4 * Copyright (C) 2013 Samsung Electronics Co., Ltd.
5 * Sylwester Nawrocki <s.nawrocki@samsung.com>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 #ifndef FIMC_ISP_VIDEO__
12 #define FIMC_ISP_VIDEO__
14 #include <media/videobuf2-core.h>
15 #include "fimc-isp.h"
17 #ifdef CONFIG_VIDEO_EXYNOS4_ISP_DMA_CAPTURE
18 int fimc_isp_video_device_register(struct fimc_isp *isp,
19 struct v4l2_device *v4l2_dev,
20 enum v4l2_buf_type type);
22 void fimc_isp_video_device_unregister(struct fimc_isp *isp,
23 enum v4l2_buf_type type);
25 void fimc_isp_video_irq_handler(struct fimc_is *is);
26 #else
27 static inline void fimc_isp_video_irq_handler(struct fimc_is *is)
31 static inline int fimc_isp_video_device_register(struct fimc_isp *isp,
32 struct v4l2_device *v4l2_dev,
33 enum v4l2_buf_type type)
35 return 0;
38 void fimc_isp_video_device_unregister(struct fimc_isp *isp,
39 enum v4l2_buf_type type)
42 #endif /* !CONFIG_VIDEO_EXYNOS4_ISP_DMA_CAPTURE */
44 #endif /* FIMC_ISP_VIDEO__ */