From 78a6dc3b84e0ba42203206a0ef349ba6c902c3c9 Mon Sep 17 00:00:00 2001 From: Naveen S Date: Thu, 27 Apr 2023 11:19:10 +0530 Subject: [PATCH] qcacmn: Fix for qdf_get_log_timestamp_lightweight not being defined qdf_get_log_timestamp_lightweight function is defined only when ENHANCED_OS_ABSTRACTION is not enabled, defining it when ENHANCED_OS_ABSTRACTION is enabled as well. Change-Id: Ia146feed5536a7b99653d7690f3204e6cbaf3f4c CRs-Fixed: 3471529 --- qdf/inc/qdf_time.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qdf/inc/qdf_time.h b/qdf/inc/qdf_time.h index ebbc2c7637..2ab5292d07 100644 --- a/qdf/inc/qdf_time.h +++ b/qdf/inc/qdf_time.h @@ -284,6 +284,11 @@ uint64_t qdf_get_log_timestamp(void); */ uint64_t qdf_get_log_timestamp_usecs(void); +/** + * qdf_get_log_timestamp_lightweight() - get time stamp for logging + */ +#define qdf_get_log_timestamp_lightweight() qdf_get_log_timestamp() + /** * qdf_get_monotonic_boottime() - get monotonic kernel boot time * This API is similar to qdf_get_system_boottime but it includes