staging: android: ion: Fix build error without CONFIG_AMLOGIC_ION_CODEC_MM 60/293660/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 1 Jun 2023 01:57:57 +0000 (10:57 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 1 Jun 2023 01:58:00 +0000 (10:58 +0900)
commitfbd890a169ef04ce520ca93ec5a751cc7c675aad
treea7d16453a86916a088c408e89bcda6f3c713907b
parentedcc2a280df26a10a84c283d7cdab4b48864e5b8
staging: android: ion: Fix build error without CONFIG_AMLOGIC_ION_CODEC_MM

The amlogic codec ion is not used, threre is build error.
Fix the build error with checking config option.

Change-Id: Id21dcb4285facd5ed8c22082d8923be2c460909b
Fixes: deca8a9c7029 ("ion_dev: add codec_mm heap for omx. [3/3]")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/staging/android/ion/Makefile
drivers/staging/android/ion/ion_heap.c
drivers/staging/android/ion/ion_priv.h