diff options
author | Hans de Goede <hdegoede@redhat.com> | 2022-10-08 17:39:32 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-11-25 08:14:31 +0000 |
commit | cb48ae89be3b6e916fe1640a9ee23fe4c87a1ca6 (patch) | |
tree | 4b45262b205f294143c185e4262b44ea2ee1dc5b /drivers/staging/media/atomisp/pci/atomisp_compat.h | |
parent | 9a29f5fc3404061d1909e05b98edf0b34686dd3f (diff) | |
download | linux-cb48ae89be3b6e916fe1640a9ee23fe4c87a1ca6.tar.bz2 |
media: atomisp: Convert to videobuf2
Convert atomisp to use videobuf2.
This fixes mmap not working and in general moving over to
the more modern videobuf2 is a good plan.
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/atomisp_compat.h')
-rw-r--r-- | drivers/staging/media/atomisp/pci/atomisp_compat.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp_compat.h b/drivers/staging/media/atomisp/pci/atomisp_compat.h index a6d85d0f9ae5..d1893a0deec1 100644 --- a/drivers/staging/media/atomisp/pci/atomisp_compat.h +++ b/drivers/staging/media/atomisp/pci/atomisp_compat.h @@ -22,7 +22,6 @@ #include "atomisp_compat_css20.h" #include "../../include/linux/atomisp.h" -#include <media/videobuf-vmalloc.h> struct atomisp_device; struct atomisp_sub_device; @@ -61,7 +60,7 @@ int atomisp_css_irq_enable(struct atomisp_device *isp, enum ia_css_irq_info info, bool enable); int atomisp_q_video_buffer_to_css(struct atomisp_sub_device *asd, - struct videobuf_vmalloc_memory *vm_mem, + struct ia_css_frame *frame, enum atomisp_input_stream_id stream_id, enum ia_css_buffer_type css_buf_type, enum ia_css_pipe_id css_pipe_id); |