media: atomisp: Make atomisp_q_video_buffers_to_css() static
authorHans de Goede <hdegoede@redhat.com>
Fri, 30 Sep 2022 15:54:27 +0000 (16:54 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 25 Nov 2022 08:12:18 +0000 (08:12 +0000)
atomisp_q_video_buffers_to_css() is only used insidd atomisp_fops.c, make
it static.

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>
drivers/staging/media/atomisp/pci/atomisp_fops.c
drivers/staging/media/atomisp/pci/atomisp_fops.h

index 84a84e0..d47b7f1 100644 (file)
@@ -206,11 +206,11 @@ static int atomisp_q_one_dis_buffer(struct atomisp_sub_device *asd,
        return 0;
 }
 
-int atomisp_q_video_buffers_to_css(struct atomisp_sub_device *asd,
-                                  struct atomisp_video_pipe *pipe,
-                                  enum atomisp_input_stream_id stream_id,
-                                  enum ia_css_buffer_type css_buf_type,
-                                  enum ia_css_pipe_id css_pipe_id)
+static int atomisp_q_video_buffers_to_css(struct atomisp_sub_device *asd,
+                                         struct atomisp_video_pipe *pipe,
+                                         enum atomisp_input_stream_id stream_id,
+                                         enum ia_css_buffer_type css_buf_type,
+                                         enum ia_css_pipe_id css_pipe_id)
 {
        struct videobuf_vmalloc_memory *vm_mem;
        struct atomisp_css_params_with_list *param;
index 3f1e442..8d3ea33 100644 (file)
 #define        __ATOMISP_FOPS_H__
 #include "atomisp_subdev.h"
 
-int atomisp_q_video_buffers_to_css(struct atomisp_sub_device *asd,
-                                  struct atomisp_video_pipe *pipe,
-                                  enum atomisp_input_stream_id stream_id,
-                                  enum ia_css_buffer_type css_buf_type,
-                                  enum ia_css_pipe_id css_pipe_id);
-
 unsigned int atomisp_dev_users(struct atomisp_device *isp);
 unsigned int atomisp_sub_dev_users(struct atomisp_sub_device *asd);