From 1c0beef3e2e5d1d7b6cd925aec87c3e39b568fb1 Mon Sep 17 00:00:00 2001 From: Konstantin Makariev Date: Fri, 24 Jan 2020 15:20:21 -0600 Subject: [PATCH] fixup! (CR) sec_mmi: update Kbuild Config option PANEL_NOTIFICATIONS only set for products using touchscreen_mmi class code. Mot-CRs-fixed: (CR) Signed-off-by: Konstantin Makariev Change-Id: I01d82a3a8df2a5684b70675c0676ff29aa7cbdc5 Reviewed-on: https://gerrit.mot.com/1488434 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Konstantin Makariev Submit-Approved: Jira Key --- drivers/input/touchscreen/sec_mmi/Kbuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/input/touchscreen/sec_mmi/Kbuild b/drivers/input/touchscreen/sec_mmi/Kbuild index 1d47dab1979e..6acb006d199b 100644 --- a/drivers/input/touchscreen/sec_mmi/Kbuild +++ b/drivers/input/touchscreen/sec_mmi/Kbuild @@ -1,7 +1,6 @@ # add -Wall to try to catch everything we can. # EXTRA_CFLAGS += -Wall -EXTRA_CFLAGS += -DCONFIG_PANEL_NOTIFICATIONS \ - -I$(TOP)/motorola/kernel/modules/include \ +EXTRA_CFLAGS += -I$(TOP)/motorola/kernel/modules/include \ -I$(TOP)/motorola/kernel/modules/drivers/input/touchscreen/sec_mmi ifneq (,$(filter racer% burton%,$(TARGET_PRODUCT))) @@ -12,7 +11,7 @@ obj-m := sec_mmi.o sec_mmi-objs = sec_ts.o sec_ts_fn.o sec_ts_fw.o sec_cmd.o sec_ts_only_vendor.o ifneq ($(filter m y,$(CONFIG_INPUT_TOUCHSCREEN_MMI)),) - EXTRA_CFLAGS += -DCONFIG_INPUT_TOUCHSCREEN_MMI + EXTRA_CFLAGS += -DCONFIG_PANEL_NOTIFICATIONS -DCONFIG_INPUT_TOUCHSCREEN_MMI sec_mmi-objs += sec_ts_mmi_class.o else EXTRA_CFLAGS += -DUSE_STUBS