From 014a22e4e176b374fe838921167fce39e2dc46f0 Mon Sep 17 00:00:00 2001 From: shilong Date: Wed, 24 Jul 2024 06:42:23 +0000 Subject: [PATCH] =?UTF-8?q?=E8=93=9D=E9=BB=84=E4=BB=A3=E7=A0=81=E5=90=8C?= =?UTF-8?q?=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: shilong --- framework/model/input/driver/hdf_hid_adapter.c | 2 +- framework/model/input/driver/hdf_hid_adapter.h | 1 - framework/model/input/driver/hdf_input_device_manager.c | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/framework/model/input/driver/hdf_hid_adapter.c b/framework/model/input/driver/hdf_hid_adapter.c index 26171509f..cd96df37b 100644 --- a/framework/model/input/driver/hdf_hid_adapter.c +++ b/framework/model/input/driver/hdf_hid_adapter.c @@ -226,7 +226,7 @@ static void DoRegisterInputDev(InputDevice* inputDev) } } -void CacheHid(InputDevice* inputDev) +static void CacheHid(InputDevice* inputDev) { HDF_LOGI("%s: Cache hid device", __func__); int32_t i = 0; diff --git a/framework/model/input/driver/hdf_hid_adapter.h b/framework/model/input/driver/hdf_hid_adapter.h index 2b4a5af2c..d054a5a20 100644 --- a/framework/model/input/driver/hdf_hid_adapter.h +++ b/framework/model/input/driver/hdf_hid_adapter.h @@ -96,5 +96,4 @@ void SendInfoToHdf(HidInfo *info); void* HidRegisterHdfInputDev(HidInfo *info); void HidUnregisterHdfInputDev(const void *inputDev); void HidReportEvent(const void *inputDev, uint32_t type, uint32_t code, int32_t value); -void CacheHid(InputDevice* inputDev); #endif diff --git a/framework/model/input/driver/hdf_input_device_manager.c b/framework/model/input/driver/hdf_input_device_manager.c index e1ed41540..078b41b1a 100644 --- a/framework/model/input/driver/hdf_input_device_manager.c +++ b/framework/model/input/driver/hdf_input_device_manager.c @@ -13,7 +13,6 @@ #include "hdf_device_object.h" #include "hdf_log.h" #include "osal_mem.h" -#include "hdf_hid_adapter.h" #define NODE_MODE 0660 #define SERVICE_NAME_LEN 24 -- Gitee