Commit 2fcd74b7 authored by Mateusz Nowotyński's avatar Mateusz Nowotyński Committed by Greg Kroah-Hartman

Staging: android: use BIT macro

Use BIT macro instead of left shifting in android/ion/ion.h
Signed-off-by: default avatarMateusz Nowotyński <maxmati4@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent feb9828b
...@@ -135,7 +135,7 @@ struct ion_heap_ops { ...@@ -135,7 +135,7 @@ struct ion_heap_ops {
/** /**
* heap flags - flags between the heaps and core ion code * heap flags - flags between the heaps and core ion code
*/ */
#define ION_HEAP_FLAG_DEFER_FREE (1 << 0) #define ION_HEAP_FLAG_DEFER_FREE BIT(0)
/** /**
* private flags - flags internal to ion * private flags - flags internal to ion
...@@ -146,7 +146,7 @@ struct ion_heap_ops { ...@@ -146,7 +146,7 @@ struct ion_heap_ops {
* any buffer storage that came from the system allocator will be * any buffer storage that came from the system allocator will be
* returned to the system allocator. * returned to the system allocator.
*/ */
#define ION_PRIV_FLAG_SHRINKER_FREE (1 << 0) #define ION_PRIV_FLAG_SHRINKER_FREE BIT(0)
/** /**
* struct ion_heap - represents a heap in the system * struct ion_heap - represents a heap in the system
......
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