media: rockchip: vicap fixes warning of compile

drivers/media/platform/rockchip/cif/dev.c:1461:6: warning: no previous prototype for ‘rkcif_set_sensor_streamon_in_sync_mode’ [-Wmissing-prototypes]
drivers/media/platform/rockchip/cif/dev.c:2477:6: warning: no previous prototype for ‘rkcif_set_sensor_stream’ [-Wmissing-prototypes]

Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I7df0b1505e763b51e277f70f7a46d4eb163a82d6
This commit is contained in:
Zefa Chen
2025-01-10 17:15:50 +08:00
committed by Tao Huang
parent e0747a9113
commit 61397641fb
3 changed files with 3 additions and 3 deletions

View File

@@ -13504,8 +13504,6 @@ static void rkcif_sensor_quick_streaming_cb(void *data)
RKMODULE_SET_QUICK_STREAM, &on);
}
extern void rkcif_set_sensor_streamon_in_sync_mode(struct rkcif_device *cif_dev);
static int rkcif_terminal_sensor_set_stream(struct rkcif_device *cif_dev, int on)
{
struct rkcif_pipeline *p = &cif_dev->pipe;

View File

@@ -2474,7 +2474,7 @@ static void rkcif_init_reset_monitor(struct rkcif_device *dev)
INIT_WORK(&dev->reset_work.work, rkcif_reset_work);
}
void rkcif_set_sensor_stream(struct work_struct *work)
static void rkcif_set_sensor_stream(struct work_struct *work)
{
struct rkcif_sensor_work *sensor_work = container_of(work,
struct rkcif_sensor_work,

View File

@@ -1173,4 +1173,6 @@ void rkcif_reinit_right_half_config(struct rkcif_stream *stream);
void rkcif_modify_line_int(struct rkcif_stream *stream, bool en);
void rkcif_set_sof(struct rkcif_device *cif_dev, u32 seq);
void rkcif_set_sensor_streamon_in_sync_mode(struct rkcif_device *cif_dev);
#endif