Explorar o código

qcacmn: Remove redundant header file inclusion from wmi layer

Remove redundant header file inclusion from wmi layer by abstracting
the dependency with in WMI layer.

Change-Id: Ie113b69006a960b70d781134775bc44c7508fc4c
CRs-Fixed: 2023825
Govind Singh %!s(int64=8) %!d(string=hai) anos
pai
achega
b83edbce75
Modificáronse 2 ficheiros con 4 adicións e 2 borrados
  1. 0 1
      wmi_unified_api.h
  2. 4 1
      wmi_unified_priv.h

+ 0 - 1
wmi_unified_api.h

@@ -34,7 +34,6 @@
 #define _WMI_UNIFIED_API_H_
 
 #include <osdep.h>
-#include "a_types.h"
 #ifdef CONFIG_MCL
 #include "wmi.h"
 #endif

+ 4 - 1
wmi_unified_priv.h

@@ -32,9 +32,12 @@
 #ifndef _WMI_UNIFIED_PRIV_H_
 #define _WMI_UNIFIED_PRIV_H_
 #include <osdep.h>
-#include "a_types.h"
+#include "wmi_unified_api.h"
 #include "wmi_unified_param.h"
 #include "wlan_scan_ucfg_api.h"
+#ifdef CONFIG_MCL
+#include <wmi_unified.h>
+#endif
 #include "qdf_atomic.h"
 #include "wlan_objmgr_psoc_service_ready_api.h"