Commit 23f38938 authored by Antti Keränen's avatar Antti Keränen Committed by Greg Kroah-Hartman

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: default avatarAntti Keränen <detegr@gmail.com>
Acked-by: default avatarLaura Abbott <labbott@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7a4abee9
...@@ -52,18 +52,18 @@ enum ion_heap_type { ...@@ -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 1
#define ION_FLAG_CACHED_NEEDS_SYNC 2 /*
* mappings of this buffer will created /*
* at mmap time, if this is set * mappings of this buffer will created at mmap time, if this is set
* caches must be managed * caches must be managed manually
* manually */
*/ #define ION_FLAG_CACHED_NEEDS_SYNC 2
/** /**
* DOC: Ion Userspace API * DOC: Ion Userspace API
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment