mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 13:06:59 +02:00
media: atomisp: Make atomisp_set_raw_buffer_bitmap() static
atomisp_set_raw_buffer_bitmap() is only used in atomisp_cmd.c, make it static. Unfortunately this still requires a forward declaration (the function cannot be moved easily). Still this will at least make it obvious to anyone reading the code that the function is not used elsewhere. Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
405dac8981
commit
e208848cb1
|
|
@ -80,6 +80,8 @@ union host {
|
|||
} ptr;
|
||||
};
|
||||
|
||||
static int atomisp_set_raw_buffer_bitmap(struct atomisp_sub_device *asd, int exp_id);
|
||||
|
||||
/*
|
||||
* get sensor:dis71430/ov2720 related info from v4l2_subdev->priv data field.
|
||||
* subdev->priv is set in mrst.c
|
||||
|
|
@ -5993,7 +5995,7 @@ void atomisp_init_raw_buffer_bitmap(struct atomisp_sub_device *asd)
|
|||
spin_unlock_irqrestore(&asd->raw_buffer_bitmap_lock, flags);
|
||||
}
|
||||
|
||||
int atomisp_set_raw_buffer_bitmap(struct atomisp_sub_device *asd, int exp_id)
|
||||
static int atomisp_set_raw_buffer_bitmap(struct atomisp_sub_device *asd, int exp_id)
|
||||
{
|
||||
int *bitmap, bit;
|
||||
unsigned long flags;
|
||||
|
|
|
|||
|
|
@ -321,8 +321,6 @@ void atomisp_flush_params_queue(struct atomisp_video_pipe *asd);
|
|||
int atomisp_exp_id_unlock(struct atomisp_sub_device *asd, int *exp_id);
|
||||
int atomisp_exp_id_capture(struct atomisp_sub_device *asd, int *exp_id);
|
||||
|
||||
/* Function to update Raw Buffer bitmap */
|
||||
int atomisp_set_raw_buffer_bitmap(struct atomisp_sub_device *asd, int exp_id);
|
||||
void atomisp_init_raw_buffer_bitmap(struct atomisp_sub_device *asd);
|
||||
|
||||
/* Function to enable/disable zoom for capture pipe */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user