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 <huangjq9@motorola.com>
Reviewed-on: https://gerrit.mot.com/1778434
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
huangjq9 2020-10-19 15:26:34 +08:00 • committed by Jianqiu Huang
commit bd5bc163eb

View file

@ -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