From c93bc92639e1ff6405a6a646ba2caa02c31b23cb Mon Sep 17 00:00:00 2001 From: "Isaac J. Manjarres" Date: Thu, 3 Oct 2019 11:10:30 -0700 Subject: [PATCH] ion: msm: Rename msm_ion_of.[c/h] to msm_ion.[c/h] Rename msm_ion_of.[c/h] to msm_ion.[c/h], as the OF portion is a bit of a misnomer, considering that the file supports more than just the OF parsing machinery. Change-Id: I013cbdb78cb031ab7521f55873ed9fb031cbbed5 Signed-off-by: Isaac J. Manjarres --- drivers/staging/android/ion/heaps/Makefile | 2 +- .../staging/android/ion/heaps/{msm_ion_of.c => msm_ion.c} | 2 +- include/linux/{msm_ion_of.h => msm_ion.h} | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) rename drivers/staging/android/ion/heaps/{msm_ion_of.c => msm_ion.c} (99%) rename include/linux/{msm_ion_of.h => msm_ion.h} (85%) 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 */