From cb25448b24abb103178413e3ce0fd8a853a12e8d Mon Sep 17 00:00:00 2001 From: hujing3 Date: Wed, 15 Dec 2021 09:34:47 +0800 Subject: [PATCH] focaltech_v3_mmi: rename .i file to fix potential build error focaltech_v3_mmi: rename .i file to fix potential user build error Change-Id: Ic50f79e7561454f8b9ec0e3511478a3447afbbdf Signed-off-by: hujing3 Reviewed-on: https://gerrit.mot.com/2144655 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- .../input/touchscreen/focaltech_v3_mmi/focaltech_config.h | 6 +++--- .../focaltech_flash/focaltech_upgrade_ft5452i.c | 2 +- .../include/firmware/{fw_sample.i => fw_sample.h} | 0 ...oot_v4.1_20210427.i => FT5452i_Pramboot_v4.1_20210427.h} | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename drivers/input/touchscreen/focaltech_v3_mmi/include/firmware/{fw_sample.i => fw_sample.h} (100%) rename drivers/input/touchscreen/focaltech_v3_mmi/include/pramboot/{FT5452i_Pramboot_v4.1_20210427.i => FT5452i_Pramboot_v4.1_20210427.h} (100%) diff --git a/drivers/input/touchscreen/focaltech_v3_mmi/focaltech_config.h b/drivers/input/touchscreen/focaltech_v3_mmi/focaltech_config.h index 026aad9a2eec..7f352a970476 100644 --- a/drivers/input/touchscreen/focaltech_v3_mmi/focaltech_config.h +++ b/drivers/input/touchscreen/focaltech_v3_mmi/focaltech_config.h @@ -293,19 +293,19 @@ * define your own fw_file, the sample one to be replaced is invalid * NOTE: if FTS_GET_MODULE_NUM > 1, it's the fw corresponding with FTS_VENDOR_ID */ -#define FTS_UPGRADE_FW_FILE "include/firmware/fw_sample.i" +#define FTS_UPGRADE_FW_FILE "include/firmware/fw_sample.h" /* * if FTS_GET_MODULE_NUM >= 2, fw corrsponding with FTS_VENDOR_ID2 * define your own fw_file, the sample one is invalid */ -#define FTS_UPGRADE_FW2_FILE "include/firmware/fw_sample.i" +#define FTS_UPGRADE_FW2_FILE "include/firmware/fw_sample.h" /* * if FTS_GET_MODULE_NUM >= 3, fw corrsponding with FTS_VENDOR_ID3 * define your own fw_file, the sample one is invalid */ -#define FTS_UPGRADE_FW3_FILE "include/firmware/fw_sample.i" +#define FTS_UPGRADE_FW3_FILE "include/firmware/fw_sample.h" /*********************************************************/ diff --git a/drivers/input/touchscreen/focaltech_v3_mmi/focaltech_flash/focaltech_upgrade_ft5452i.c b/drivers/input/touchscreen/focaltech_v3_mmi/focaltech_flash/focaltech_upgrade_ft5452i.c index df05b80423a2..b1e8538acab9 100644 --- a/drivers/input/touchscreen/focaltech_v3_mmi/focaltech_flash/focaltech_upgrade_ft5452i.c +++ b/drivers/input/touchscreen/focaltech_v3_mmi/focaltech_flash/focaltech_upgrade_ft5452i.c @@ -37,7 +37,7 @@ * Global variable or extern global variabls/functions *****************************************************************************/ u8 pb_file_ft5452i[] = { -#include "../include/pramboot/FT5452i_Pramboot_v4.1_20210427.i" +#include "../include/pramboot/FT5452i_Pramboot_v4.1_20210427.h" }; /***************************************************************************** diff --git a/drivers/input/touchscreen/focaltech_v3_mmi/include/firmware/fw_sample.i b/drivers/input/touchscreen/focaltech_v3_mmi/include/firmware/fw_sample.h similarity index 100% rename from drivers/input/touchscreen/focaltech_v3_mmi/include/firmware/fw_sample.i rename to drivers/input/touchscreen/focaltech_v3_mmi/include/firmware/fw_sample.h diff --git a/drivers/input/touchscreen/focaltech_v3_mmi/include/pramboot/FT5452i_Pramboot_v4.1_20210427.i b/drivers/input/touchscreen/focaltech_v3_mmi/include/pramboot/FT5452i_Pramboot_v4.1_20210427.h similarity index 100% rename from drivers/input/touchscreen/focaltech_v3_mmi/include/pramboot/FT5452i_Pramboot_v4.1_20210427.i rename to drivers/input/touchscreen/focaltech_v3_mmi/include/pramboot/FT5452i_Pramboot_v4.1_20210427.h