aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielhk <daniel.p6800@gmail.com>2018-01-21 11:08:53 +0800
committerMoyster <oysterized@gmail.com>2018-11-27 17:03:00 +0100
commitca09ff448f7c573d14d30d46bdcce2afba371f9b (patch)
treec87684ece13964302da2be1d033a4365992db43a
parenta955b03bd548b817efb2448617cfa85e31283d6b (diff)
wmt:fix an invalid condition check
Signed-off-by: Moyster <oysterized@gmail.com>
-rw-r--r--drivers/misc/mediatek/connectivity/common/conn_soc/mt6735/wmt_plat_alps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mediatek/connectivity/common/conn_soc/mt6735/wmt_plat_alps.c b/drivers/misc/mediatek/connectivity/common/conn_soc/mt6735/wmt_plat_alps.c
index 55240c6f5..5a858ee2c 100644
--- a/drivers/misc/mediatek/connectivity/common/conn_soc/mt6735/wmt_plat_alps.c
+++ b/drivers/misc/mediatek/connectivity/common/conn_soc/mt6735/wmt_plat_alps.c
@@ -18,7 +18,7 @@
*/
-#if CONFIG_HAS_WAKELOCK
+#ifdef CONFIG_HAS_WAKELOCK
#include <linux/wakelock.h>
#define CFG_WMT_WAKELOCK_SUPPORT 1
#endif