mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
Fix path for ion lib in Kernel 4.19
The mobicoreDriver from Trustonic drop 410a-V108 was not including the correct ion header when CONFIG_ION_SYSTEM_HEAP is disabled, causing a build failure. Change-Id: Ie324ba066fb1a487a13c86716af8a79a3ce3b16a Reviewed-on: https://gerrit.mot.com/2107997 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Konstantin Makariev <kmakariev@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
151bc916a9
commit
de6c28300f
1 changed files with 2 additions and 0 deletions
|
|
@ -38,6 +38,8 @@
|
|||
#else /* CONFIG_ION_SYSTEM_HEAP */
|
||||
#if KERNEL_VERSION(5, 4, 0) < LINUX_VERSION_CODE
|
||||
#include "../../drivers/staging/android/ion/ion.h"
|
||||
#elif KERNEL_VERSION(4, 11, 12) < LINUX_VERSION_CODE
|
||||
#include "../../drivers/staging/android/ion/ion.h"
|
||||
#elif KERNEL_VERSION(3, 14, 0) < LINUX_VERSION_CODE
|
||||
/* very old Android kernel without ION_SYSTEM_HEAP falls here */
|
||||
#include "../../drivers/staging/android/ion/ion_priv.h"
|
||||
|
|
|
|||
Loading…
Reference in a new issue