From 289f3c401afbb49130af9d377ccda642d6675355 Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Wed, 18 Apr 2018 17:57:42 -0700 Subject: [PATCH] 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 --- .../pmo/dispatcher/inc/wlan_pmo_common_public_struct.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/pmo/dispatcher/inc/wlan_pmo_common_public_struct.h b/components/pmo/dispatcher/inc/wlan_pmo_common_public_struct.h index 887776f48cd0..990322fcdec4 100644 --- a/components/pmo/dispatcher/inc/wlan_pmo_common_public_struct.h +++ b/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_ */