Bläddra i källkod

qcacld-3.0: Add feature flag for PMO component (part-2)

Add feature flag for PMO component such that for high latency
and IoT devices power management and offload component can be
compiled out.

Change-Id: Iaccda7d9e895cdb4610f0ec984add3aeb7ef9926
CRs-Fixed: 2227330
Rajeev Kumar 7 år sedan
förälder
incheckning
289f3c401a
1 ändrade filer med 4 tillägg och 1 borttagningar
  1. 4 1
      components/pmo/dispatcher/inc/wlan_pmo_common_public_struct.h

+ 4 - 1
components/pmo/dispatcher/inc/wlan_pmo_common_public_struct.h

@@ -26,6 +26,8 @@
 #ifndef _WLAN_PMO_COMMONP_PUBLIC_STRUCT_H_
 #define _WLAN_PMO_COMMONP_PUBLIC_STRUCT_H_
 
+#ifdef WLAN_POWER_MANAGEMENT_OFFLOAD
+
 #include "wlan_cmn.h"
 #include "wlan_objmgr_cmn.h"
 #include "wlan_objmgr_global_obj.h"
@@ -332,5 +334,6 @@ struct pmo_device_caps {
 	bool unified_wow;
 };
 
-#endif /* end  of _WLAN_PMO_COMMONP_STRUCT_H_ */
+#endif /* end of WLAN_POWER_MANAGEMENT_OFFLOAD */
 
+#endif /* end  of _WLAN_PMO_COMMONP_STRUCT_H_ */