summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/rmnet/perf/rmnet_perf_core.c4
1 files changed, 2 insertions, 2 deletions
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 @@ int __rmnet_perf_core_deaggregate(struct sk_buff *skb, struct rmnet_port *port)
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)