mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
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:
parent
9c323a8ceb
commit
ea8f5e0539
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue