supporting modularized CONFIG_QCOM_QMI_POWER_COLLAPSE
Bug: 157100899
Change-Id: Ifbe5ec4edffe33a404a6a703bca17f9696da527f
Signed-off-by: Aaron Ding <aaronding@google.com>
diff --git a/drivers/rmnet/perf/rmnet_perf_core.c b/drivers/rmnet/perf/rmnet_perf_core.c
index 4e8d4c6..508b30b 100644
--- a/drivers/rmnet/perf/rmnet_perf_core.c
+++ b/drivers/rmnet/perf/rmnet_perf_core.c
@@ -30,7 +30,7 @@
#include "rmnet_perf_core.h"
#include "rmnet_perf_config.h"
-#ifdef CONFIG_QCOM_QMI_POWER_COLLAPSE
+#if IS_ENABLED(CONFIG_QCOM_QMI_POWER_COLLAPSE)
#include <soc/qcom/qmi_rmnet.h>
#endif
@@ -971,7 +971,7 @@
goto skip_frame;
skb->dev = ep->egress_dev;
-#ifdef CONFIG_QCOM_QMI_POWER_COLLAPSE
+#if IS_ENABLED(CONFIG_QCOM_QMI_POWER_COLLAPSE)
/* Wakeup PS work on DL packets */
if ((port->data_format & RMNET_INGRESS_FORMAT_PS) &&
!maph->cd_bit)