Kaynağa Gözat

qcacmn: Fix compilation error on LE target

Fix compilation errors on LE target.

Change-Id: I57c337c8144e4f49a8fd7eefb22164f05beb13c5
Anurag Chouhan 6 yıl önce
ebeveyn
işleme
15da7ce9be
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. 3 0
      qdf/linux/src/i_qdf_timer.h

+ 3 - 0
qdf/linux/src/i_qdf_timer.h

@@ -29,6 +29,9 @@
 #include <linux/timer.h>
 #include <linux/jiffies.h>
 #include <qdf_types.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)
+#include <linux/sched/task_stack.h>
+#endif
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 9, 0)
 #define setup_deferrable_timer(timer, fn, data)                                \