staging: ion: Fix a coding style issue

This patch fixes the alignment of an allocation flag block comment
and moves the comments before each #define.

Signed-off-by: Antti Keränen <detegr@gmail.com>
Acked-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Antti Keränen
2016-09-23 21:03:05 +03:00
committed by Greg Kroah-Hartman
parent 7a4abee97f
commit 23f389384b

View File

@@ -52,18 +52,18 @@ enum ion_heap_type {
* allocation flags - the lower 16 bits are used by core ion, the upper 16 * allocation flags - the lower 16 bits are used by core ion, the upper 16
* bits are reserved for use by the heaps themselves. * bits are reserved for use by the heaps themselves.
*/ */
#define ION_FLAG_CACHED 1 /*
* mappings of this buffer should be /*
* cached, ion will do cache * mappings of this buffer should be cached, ion will do cache maintenance
* maintenance when the buffer is * when the buffer is mapped for dma
* mapped for dma
*/ */
#define ION_FLAG_CACHED_NEEDS_SYNC 2 /* #define ION_FLAG_CACHED 1
* mappings of this buffer will created
* at mmap time, if this is set /*
* caches must be managed * mappings of this buffer will created at mmap time, if this is set
* manually * caches must be managed manually
*/ */
#define ION_FLAG_CACHED_NEEDS_SYNC 2
/** /**
* DOC: Ion Userspace API * DOC: Ion Userspace API