From e6168d475d40831101c2413c1d3a40bb660c6dc4 Mon Sep 17 00:00:00 2001 From: Aditya Sathish Date: Thu, 7 Jun 2018 16:52:49 +0530 Subject: [PATCH] qcacmn: Extend kernel version condition in i_qdf_time.h For kernel v3.17 and above, timekeeping.h is included for some kernel APIs such as ktime_get() but for versions prior to 3.17, the above APIs are present in hrtimer.h. To accommodate the usage of these APIs for older kernel versions, include into this file for kernel versions lower than 3.17 Change-Id: I445a1673d9067a2dd47045d6c48d73aaa239790e CRs-Fixed: 2252563 --- qdf/linux/src/i_qdf_time.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qdf/linux/src/i_qdf_time.h b/qdf/linux/src/i_qdf_time.h index efde8b2975d2..7f0b41e914ce 100644 --- a/qdf/linux/src/i_qdf_time.h +++ b/qdf/linux/src/i_qdf_time.h @@ -29,6 +29,8 @@ #include #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 17, 0)) #include +#else +#include #endif #ifdef MSM_PLATFORM #include