diff --git a/techpack/camera/drivers/cam_ope/ope_hw_mgr/cam_ope_hw_mgr.c b/techpack/camera/drivers/cam_ope/ope_hw_mgr/cam_ope_hw_mgr.c index 4c6cf26cf5ee..dbf0a52c729c 100644 --- a/techpack/camera/drivers/cam_ope/ope_hw_mgr/cam_ope_hw_mgr.c +++ b/techpack/camera/drivers/cam_ope/ope_hw_mgr/cam_ope_hw_mgr.c @@ -3523,7 +3523,7 @@ static int cam_ope_mgr_hw_open_u(void *hw_priv, void *fw_download_args) return rc; } -static cam_ope_mgr_hw_close_u(void *hw_priv, void *hw_close_args) +static int cam_ope_mgr_hw_close_u(void *hw_priv, void *hw_close_args) { struct cam_ope_hw_mgr *hw_mgr; int rc = 0; diff --git a/techpack/camera/drivers/cam_utils/cam_debug_util.c b/techpack/camera/drivers/cam_utils/cam_debug_util.c index 5f1a3f7f4876..f6c1764988ba 100644 --- a/techpack/camera/drivers/cam_utils/cam_debug_util.c +++ b/techpack/camera/drivers/cam_utils/cam_debug_util.c @@ -19,7 +19,7 @@ module_param(debug_type, uint, 0644); struct camera_debug_settings cam_debug; -const struct camera_debug_settings *cam_debug_get_settings() +const struct camera_debug_settings *cam_debug_get_settings(void) { return &cam_debug; }