diff options
author | Aaron Ding <aaronding@google.com> | 2020-05-25 16:21:55 +0800 |
---|---|---|
committer | Aaron Ding <aaronding@google.com> | 2020-05-25 16:28:51 +0800 |
commit | 7cef5006280ec8a0d65843fac3cace11a7f8587b (patch) | |
tree | 847577d7273e6e9f1adbc862b2e21a64c4845637 | |
parent | 4f7d7a8afb9b6466e58c3dee127547360f1e7e5b (diff) | |
download | data-kernel-7cef5006280ec8a0d65843fac3cace11a7f8587b.tar.gz |
supporting modularized CONFIG_QCOM_QMI_POWER_COLLAPSE
Bug: 157100899
Change-Id: Ifbe5ec4edffe33a404a6a703bca17f9696da527f
Signed-off-by: Aaron Ding <aaronding@google.com>
-rw-r--r-- | drivers/rmnet/perf/rmnet_perf_core.c | 4 |
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) |