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:
Jefferson Capovilla 2021-11-04 16:21:08 -03:00 • committed by Jefferson Rodrigo Capovilla
commit de6c28300f

View file

@ -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"