From da392862a50ec641064db34b6b406d4dbb009c06 Mon Sep 17 00:00:00 2001 From: litong20 Date: Tue, 1 Mar 2022 10:44:35 +0800 Subject: [PATCH] Fix build errors with missing header files. Error: cyttsp5_regs.h:62:10: fatal error: 'linux/cyttsp5_core.h' file not found Change-Id: I824cd60cb7cf62f5e57f8850c10e18f95a9777e0 Reviewed-on: https://gerrit.mot.com/2203813 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Jichao Zou Submit-Approved: Jira Key --- drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_devtree.c | 2 +- drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_platform.c | 2 +- drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_platform.h | 2 +- drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_regs.h | 2 +- .../parade_tma5xx_mmi/cyttsp5_test_device_access_api.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_devtree.c b/drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_devtree.c index de2aa7bcc68d..a739b64fdd46 100644 --- a/drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_devtree.c +++ b/drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_devtree.c @@ -34,7 +34,7 @@ /* cyttsp */ #include "cyttsp5_regs.h" -#include +#include "cyttsp5_platform.h" #define ENABLE_VIRTUAL_KEYS diff --git a/drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_platform.c b/drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_platform.c index 46891d5c43e3..6fb0d6a5ff2b 100644 --- a/drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_platform.c +++ b/drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_platform.c @@ -27,7 +27,7 @@ */ #include "cyttsp5_regs.h" -#include +#include "cyttsp5_platform.h" #ifdef CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5_PLATFORM_FW_UPGRADE /* FW for Panel ID = 0x00 */ diff --git a/drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_platform.h b/drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_platform.h index cab0717682fc..289b014775c0 100644 --- a/drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_platform.h +++ b/drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_platform.h @@ -29,7 +29,7 @@ #ifndef _LINUX_CYTTSP5_PLATFORM_H #define _LINUX_CYTTSP5_PLATFORM_H -#include +#include "cyttsp5_core.h" #if defined(CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5) \ || defined(CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5_MODULE) diff --git a/drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_regs.h b/drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_regs.h index 105140976bc0..25090bbf8dec 100644 --- a/drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_regs.h +++ b/drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_regs.h @@ -59,7 +59,7 @@ #include #include #include -#include +#include "cyttsp5_core.h" #include #include diff --git a/drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_test_device_access_api.c b/drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_test_device_access_api.c index b9517d52d5d4..d874821fa920 100644 --- a/drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_test_device_access_api.c +++ b/drivers/input/touchscreen/parade_tma5xx_mmi/cyttsp5_test_device_access_api.c @@ -27,7 +27,7 @@ */ #include -#include +#include "cyttsp5_device_access-api.h" #include #define BUFFER_SIZE 256