mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacmn: Fix CE history compilation issue
alloc_mem_ce_debug_history() is currently stubbed out when HIF_CONFIG_SLUB_DEBUG_ON is defined, leading to silent CE history collection failure on MCL devices. Fix the #define to include the full definition of this function when HIF_CONFIG_SLUB_DEBUG_ON is enabled. Change-Id: I8cd4c81e21a3874d717e361751372912ce38d560 CRs-Fixed: 2299012
This commit is contained in:
parent
37b649522c
commit
041b10a5f7
1 changed files with 1 additions and 1 deletions
|
|
@ -1176,7 +1176,7 @@ void free_mem_ce_debug_hist_data(struct hif_softc *scn, uint32_t ce_id)
|
|||
* Note: For MCL, #if defined (HIF_CONFIG_SLUB_DEBUG_ON) needs to be checked
|
||||
* for defined here
|
||||
*/
|
||||
#if HIF_CE_DEBUG_DATA_BUF
|
||||
#if defined(HIF_CONFIG_SLUB_DEBUG_ON) || HIF_CE_DEBUG_DATA_BUF
|
||||
/**
|
||||
* alloc_mem_ce_debug_history() - Allocate mem for the CE descriptors storing
|
||||
* @scn: hif scn handle
|
||||
|
|
|
|||
Loading…
Reference in a new issue