diff options
Diffstat (limited to 'payloads/libpayload/libc/malloc.c')
-rw-r--r-- | payloads/libpayload/libc/malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/libc/malloc.c b/payloads/libpayload/libc/malloc.c index 20f9ef38e1..f94f33e5df 100644 --- a/payloads/libpayload/libc/malloc.c +++ b/payloads/libpayload/libc/malloc.c @@ -118,7 +118,7 @@ int dma_initialized() } /* For boards that don't initialize DMA we assume all locations are coherent */ -int dma_coherent(void *ptr) +int dma_coherent(const void *ptr) { return !dma_initialized() || (dma->start <= ptr && dma->end > ptr); } |