From bd5bc163eba37d33c7e218d1f40fc4478b540662 Mon Sep 17 00:00:00 2001 From: huangjq9 Date: Mon, 19 Oct 2020 15:26:34 +0800 Subject: [PATCH] hall: stylus bu520xx: fix the compilation errors - TOP -> ANDROID_BUILD_TOP to solve the error that the hearder file cannot be found. Change-Id: Ib383de11808ea3f2f36638379abc35c8b4e6ce0b Signed-off-by: huangjq9 Reviewed-on: https://gerrit.mot.com/1778434 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Reviewed-by: Jun Weng Tested-by: Jira Key Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- drivers/misc/pen/Kbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/pen/Kbuild b/drivers/misc/pen/Kbuild index 0a5589aefc09..36a6a68de3d6 100644 --- a/drivers/misc/pen/Kbuild +++ b/drivers/misc/pen/Kbuild @@ -1,6 +1,6 @@ # add -Wall to try to catch everything we can. EXTRA_CFLAGS += -Wall -EXTRA_CFLAGS += -I$(TOP)/motorola/kernel/modules/include +EXTRA_CFLAGS += -I$(ANDROID_BUILD_TOP)/motorola/kernel/modules/include KBUILD_EXTRA_SYMBOLS += $(CURDIR)/$(KBUILD_EXTMOD)/../../sensors/Module.symvers