summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-03-05 23:17:54 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-03-05 23:17:54 -0800
commitdcefdc47d4576d976f0135ecba5ca52d76433e59 (patch)
tree697ef6348c280d7160d92cd12806aa68d13196de
parentbea91435224c606ba0e140e891c3cc6246d13825 (diff)
parent370d1fea1eff5b2c2684ebf858dafb96d1f7a6af (diff)
Merge "qcacld-2.0: Porting qcald2.0 on linux v4.4.15" into wlan-cld2.driver.lnx.1.0-dev
-rw-r--r--CORE/SERVICES/COMMON/adf/linux/adf_nbuf_pvt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/CORE/SERVICES/COMMON/adf/linux/adf_nbuf_pvt.h b/CORE/SERVICES/COMMON/adf/linux/adf_nbuf_pvt.h
index 5f9565eaecac..949af0c424f0 100644
--- a/CORE/SERVICES/COMMON/adf/linux/adf_nbuf_pvt.h
+++ b/CORE/SERVICES/COMMON/adf/linux/adf_nbuf_pvt.h
@@ -36,7 +36,11 @@
#include <linux/netdevice.h>
#include <linux/dma-mapping.h>
#include <asm/types.h>
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,2,0))
+#include <linux/scatterlist.h>
+#else
#include <asm/scatterlist.h>
+#endif
#include <adf_os_types.h>
#include <adf_nbuf.h>