From 509304dd9c1af2eb974d08e603bc5704fdf2969e Mon Sep 17 00:00:00 2001 From: AdarshGrewal Date: Thu, 19 Jun 2025 13:14:17 +0530 Subject: [PATCH] camera-kernel: Add missing function prototypes Change-Id: Iaa071e9926568d70a553c974ea7251ea4c368b1c --- .../drivers/cam_sensor_module/cam_flash/cam_flash_dev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qcom/opensource/camera-kernel/drivers/cam_sensor_module/cam_flash/cam_flash_dev.c b/qcom/opensource/camera-kernel/drivers/cam_sensor_module/cam_flash/cam_flash_dev.c index 974377fe7f..b348c02e61 100644 --- a/qcom/opensource/camera-kernel/drivers/cam_sensor_module/cam_flash/cam_flash_dev.c +++ b/qcom/opensource/camera-kernel/drivers/cam_sensor_module/cam_flash/cam_flash_dev.c @@ -37,7 +37,7 @@ static int i2c_flash_status; struct cam_flash_ctrl *fctrl_flash; struct cam_flash_ctrl *fctrl_flash_aux; -static int cam_flash_i2c_driver_powerup() +static int cam_flash_i2c_driver_powerup(void) { int ret; @@ -73,7 +73,7 @@ release_gpio: return ret; } -static int cam_flash_i2c_driver_powerdown() +static int cam_flash_i2c_driver_powerdown(void) { int ret = 0; @@ -287,7 +287,7 @@ static int cam_flash_i2c_driver_init_kobject(struct cam_flash_ctrl *fctrl) return retval; } -static void cam_flash_i2c_driver_deinit_kobject() +static void cam_flash_i2c_driver_deinit_kobject(void) { CAM_INFO(CAM_FLASH, "i2c flash kobj deinit i2c_flash_kobj %p",i2c_flash_kobj); if (NULL != i2c_flash_kobj) {