diff --git a/drivers/staging/android/ion/heaps/Makefile b/drivers/staging/android/ion/heaps/Makefile index c75661272c34..d6752eab5cd6 100644 --- a/drivers/staging/android/ion/heaps/Makefile +++ b/drivers/staging/android/ion/heaps/Makefile @@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_ION_MSM_HEAPS) += msm_ion_heaps.o -msm_ion_heaps-objs += msm_ion_of.o msm_ion_dma_buf.o ion_page_pool.o \ +msm_ion_heaps-objs += msm_ion.o msm_ion_dma_buf.o ion_page_pool.o \ ion_system_heap.o ion_carveout_heap.o ion_system_secure_heap.o \ ion_cma_heap.o ion_secure_util.o diff --git a/drivers/staging/android/ion/heaps/msm_ion_of.c b/drivers/staging/android/ion/heaps/msm_ion.c similarity index 99% rename from drivers/staging/android/ion/heaps/msm_ion_of.c rename to drivers/staging/android/ion/heaps/msm_ion.c index a2542aa413d1..535b23cfc2e2 100644 --- a/drivers/staging/android/ion/heaps/msm_ion_of.c +++ b/drivers/staging/android/ion/heaps/msm_ion.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include "msm_ion_priv.h" #define ION_COMPAT_STR "qcom,msm-ion" diff --git a/include/linux/msm_ion_of.h b/include/linux/msm_ion.h similarity index 85% rename from include/linux/msm_ion_of.h rename to include/linux/msm_ion.h index d1252ff621a9..cb2482f5fb48 100644 --- a/include/linux/msm_ion_of.h +++ b/include/linux/msm_ion.h @@ -3,8 +3,8 @@ * Copyright (c) 2019, The Linux Foundation. All rights reserved. */ -#ifndef _MSM_ION_OF_H -#define _MSM_ION_OF_H +#ifndef _MSM_ION_H +#define _MSM_ION_H #include #include @@ -21,4 +21,4 @@ static inline struct device *msm_ion_heap_device_by_id(int heap_id) } #endif /* CONFIG_ION_MSM_HEAPS */ -#endif /* _MSM_ION_OF_H */ +#endif /* _MSM_ION_H */ diff --git a/include/uapi/linux/msm_ion.h b/include/uapi/linux/msm_ion.h index a289bbeb99ee..5d6f948408b7 100644 --- a/include/uapi/linux/msm_ion.h +++ b/include/uapi/linux/msm_ion.h @@ -13,7 +13,7 @@ * compile time only their code which uses the appropriate ION APIs for * this kernel is included. */ -#define TARGET_ION_ABI_VERSION 2 +#define TARGET_ION_ABI_VERSION 3 enum msm_ion_heap_types { ION_HEAP_TYPE_MSM_START = 16,