msm_ion: convert enum to #defines
Signed-off-by: Iliyan Malchev <malchev@google.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user