From fa1e9f712edec7c16a2a32210aa75d498c1f2e06 Mon Sep 17 00:00:00 2001 From: Konstantin Makariev Date: Wed, 20 Nov 2019 15:02:15 -0600 Subject: [PATCH] fixup! (CR) sec_mmi: remove MMI_STOPSHIP Cannot get rid of all stubs at this time. Mot-CRs-fixed: (CR) Signed-off-by: Konstantin Makariev Change-Id: I9fef548871ce6d65ccd8c3ca32c784786b1d5bf2 Reviewed-on: https://gerrit.mot.com/1458687 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Konstantin Makariev Submit-Approved: Jira Key --- drivers/input/touchscreen/sec_mmi/sec_ts_mmi.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/input/touchscreen/sec_mmi/sec_ts_mmi.c b/drivers/input/touchscreen/sec_mmi/sec_ts_mmi.c index 6c134ccd57c7..44a0671b494c 100644 --- a/drivers/input/touchscreen/sec_mmi/sec_ts_mmi.c +++ b/drivers/input/touchscreen/sec_mmi/sec_ts_mmi.c @@ -33,6 +33,20 @@ #include "sec_ts.h" #include "sec_mmi.h" +#if defined(USE_STUBS) +static struct class *local_touchscreen_class; +struct class *get_touchscreen_class_ptr(void) +{ + pr_info("sec_mmi: stub %s\n", __func__); + return local_touchscreen_class; +} +void set_touchscreen_class_ptr(struct class *ptr) +{ + pr_info("sec_mmi: stub %s\n", __func__); + local_touchscreen_class = ptr; +} +#endif + /* MMI specific sysfs entries and API */ static ssize_t sec_mmi_reset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size);