summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoddar, Siddarth <siddpodd@qti.qualcomm.com>2016-05-26 15:58:50 +0530
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-05-26 16:32:48 +0530
commit37ec5ee2a88e3bf5baa7231fa0e55b92dcfda094 (patch)
tree8fd183b5612587a13c895213fc66f2b434b0bd9a
parent1b622d7484332ca32c4365db6634f55abc64e563 (diff)
qcacld-2.0: Fix issue when DP trace feature is not enabled
Return type of adf_dp_get_proto_bitmap function is incorrectly handled when DP trace macro is not defined. Change-Id: I7a8bc74f5cbb2124dec36fd922679b05ba1c58d1 CRs-Fixed: 1008087
-rw-r--r--CORE/SERVICES/COMMON/adf/adf_trace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/CORE/SERVICES/COMMON/adf/adf_trace.h b/CORE/SERVICES/COMMON/adf/adf_trace.h
index bf5f96ed26d6..b426edd26ae2 100644
--- a/CORE/SERVICES/COMMON/adf/adf_trace.h
+++ b/CORE/SERVICES/COMMON/adf/adf_trace.h
@@ -237,6 +237,7 @@ adf_dp_display_ptr_record(struct adf_dp_trace_record_s *pRecord,
static inline uint8_t adf_dp_get_proto_bitmap(void)
{
+ return 0;
}
static inline void