From ea8f5e05391732c8a683508df1e3827999dcef9c Mon Sep 17 00:00:00 2001 From: Krishna Kumaar Natarajan Date: Tue, 27 Sep 2016 14:56:57 -0700 Subject: [PATCH] qcacld-3.0: Fix compilation error on disabling FEATURE_NAPI When FEATURE_NAPI is disabled there is a compilation error. Fix the compilation error by adding appropriate function defintion. Change-Id: If77ad5d8a5a6edc189159d0e9d6d92edd2856052 CRs-Fixed: 1072777 --- core/hdd/inc/wlan_hdd_napi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_napi.h b/core/hdd/inc/wlan_hdd_napi.h index 460af7e878e4..1ad0ef9bec04 100644 --- a/core/hdd/inc/wlan_hdd_napi.h +++ b/core/hdd/inc/wlan_hdd_napi.h @@ -93,8 +93,8 @@ static inline int hdd_napi_event(enum qca_napi_event event, void *data) return 0; } static inline struct qca_napi_data *hdd_napi_get_all(void) { return NULL; } -static inline int hdd_napi_apply_throughput_policy(struct hdd_context_s *, - uint64_t, uint64_t) +static inline int hdd_napi_apply_throughput_policy(void *hdd_ctx, + uint64_t tx_packets, uint64_t rx_packets) { return 0; }