mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
Merge "dma-mapping-fast: Clean up common code"
This commit is contained in:
commit
ba56951f33
5 changed files with 22 additions and 89 deletions
|
|
@ -186,7 +186,8 @@ static int __init dma_atomic_pool_init(void)
|
|||
}
|
||||
postcore_initcall(dma_atomic_pool_init);
|
||||
|
||||
bool __dma_in_atomic_pool(struct gen_pool *pool, void *start, size_t size)
|
||||
static bool __dma_in_atomic_pool(struct gen_pool *pool, void *start,
|
||||
size_t size)
|
||||
{
|
||||
if (unlikely(!pool))
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue