From 9d240daf92d12159e40b73e9d93a411f91033359 Mon Sep 17 00:00:00 2001 From: Mahesh Kumar Kalikot Veetil Date: Mon, 26 Mar 2018 11:49:54 -0700 Subject: [PATCH] qcacmn: Fix architecture dependency API arch_counter_get_cntvct()/arch_counter_get_cntpct() are specific to MSM/ARM platform. Use proper compilation flags for QDF to compile against other platforms. Change-Id: I7fcc5d84cd205151d839d19dfdc3432cb289807d CRs-Fixed: 2216035 --- qdf/linux/src/i_qdf_time.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/qdf/linux/src/i_qdf_time.h b/qdf/linux/src/i_qdf_time.h index 2025c7f1aba9..2352a9daec17 100644 --- a/qdf/linux/src/i_qdf_time.h +++ b/qdf/linux/src/i_qdf_time.h @@ -39,8 +39,6 @@ #include #ifdef MSM_PLATFORM #include -#else -#include #endif #ifdef CONFIG_CNSS #include @@ -264,8 +262,7 @@ static inline uint64_t __qdf_get_monotonic_boottime(void) return ((uint64_t) ts.tv_sec * 1000000) + (ts.tv_nsec / 1000); } -#ifdef QCA_WIFI_3_0_ADRASTEA -#include +#if defined (QCA_WIFI_3_0_ADRASTEA) && defined (MSM_PLATFORM) /** * __qdf_get_log_timestamp() - get QTIMER ticks