From 237951ba5101d55fff532c7a8afbfd941deb3195 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Wed, 12 Dec 2018 16:53:59 -0800 Subject: [PATCH] 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 --- core/bmi/src/i_bmi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/bmi/src/i_bmi.h b/core/bmi/src/i_bmi.h index cd25c73fa2..ae9857b328 100644 --- a/core/bmi/src/i_bmi.h +++ b/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"