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:
committed by
Greg Kroah-Hartman
parent
7a4abee97f
commit
23f389384b
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user