msm_ion: convert enum to #defines

Signed-off-by: Iliyan Malchev <malchev@google.com>
This commit is contained in:
Iliyan Malchev
2013-03-15 17:24:49 -07:00
parent 7b767245fc
commit 1cbd20da69

View File

@@ -18,11 +18,9 @@
#include <linux/ion.h>
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.