From 06fbccbb01d33ff576f0d64373308bef34fc4641 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Fri, 20 Oct 2023 09:39:20 +0200 Subject: [PATCH] msm: camera: Fix strict-prototypes error Change-Id: Iaad4cda7407ea12558a2d4a0f4acb4586bed5d0a --- techpack/camera/drivers/cam_ope/ope_hw_mgr/cam_ope_hw_mgr.c | 2 +- techpack/camera/drivers/cam_utils/cam_debug_util.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }