diff --git a/include/linux/msm_ion.h b/include/linux/msm_ion.h index edf240162f0..7585861b38a 100644 --- a/include/linux/msm_ion.h +++ b/include/linux/msm_ion.h @@ -18,11 +18,9 @@ #include -enum msm_ion_heap_types { - ION_HEAP_TYPE_MSM_START = ION_HEAP_TYPE_CUSTOM + 1, - ION_HEAP_TYPE_IOMMU = ION_HEAP_TYPE_MSM_START, - ION_HEAP_TYPE_CP, -}; +#define ION_HEAP_TYPE_MSM_START (ION_HEAP_TYPE_CUSTOM + 1) +#define ION_HEAP_TYPE_IOMMU (ION_HEAP_TYPE_MSM_START) +#define ION_HEAP_TYPE_CP (ION_HEAP_TYPE_IOMMU + 1) /** * These are the only ids that should be used for Ion heap ids.