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
This commit is contained in:
Krishna Kumaar Natarajan 2016-09-27 14:56:57 -07:00 • committed by qcabuildsw
commit ea8f5e0539

View file

@ -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;
}