qcacld-3.0: Revise to include walt.h header

Since walt is msm-only scheduler group of features,
not upstreamed. Include walt.h header when CONFIG_SCHED_WALT
has been enabled.

CRs-Fixed: 3023911
Change-Id: I7f334952fd624606b9ddf1b53237cea52628abbb
This commit is contained in:
Paul Zhang
2021-08-27 15:53:20 +08:00
committed by Madan Koyyalamudi
parent 4a491c7151
commit 3f732b46d9

View File

@@ -30,7 +30,9 @@
#include <wlan_hdd_softap_tx_rx.h> #include <wlan_hdd_softap_tx_rx.h>
#include <linux/inetdevice.h> #include <linux/inetdevice.h>
#include <qdf_trace.h> #include <qdf_trace.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0) /* Test against msm kernel version */
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0)) && \
IS_ENABLED(CONFIG_SCHED_WALT)
#include <linux/sched/walt.h> #include <linux/sched/walt.h>
#endif #endif