瀏覽代碼

qcacld-3.0: Include qdf headers in i_bmi.h

Header file i_bmi.h utilizes several QDF data structures, but it does
not explicitly include the header files which define them. This must
mean that the data structures are being included as a side-effect of
including an unrelated header file.

In an upcoming change the header file ol_if_athvar.h is being
refactored, and that change somehow interferes with the side-effect
that causes the QDF header files to be included by i_bmi.h. So rather
than rely upon the side-effect, explicitly include the necessary
header files.

Change-Id: Icf7d7e4babb14faa41b2ac18c6181a206da9b858
CRs-Fixed: 2366963
Jeff Johnson 6 年之前
父節點
當前提交
237951ba51
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      core/bmi/src/i_bmi.h

+ 2 - 0
core/bmi/src/i_bmi.h

@@ -23,6 +23,8 @@
 #ifndef _I_BMI_H_
 #define _I_BMI_H_
 
+#include "qdf_types.h"
+#include "qdf_defer.h"
 #include "hif.h"
 #include "bmi_msg.h"
 #include "bmi.h"