|
@@ -54,7 +54,7 @@ static struct gen_pool *coherent_pool;
|
|
|
|
|
|
/* Allocates from a pool of uncached memory that was reserved at boot time */
|
|
/* Allocates from a pool of uncached memory that was reserved at boot time */
|
|
|
|
|
|
-void *hexagon_dma_alloc_coherent(struct device *dev, size_t size,
|
|
|
|
|
|
+static void *hexagon_dma_alloc_coherent(struct device *dev, size_t size,
|
|
dma_addr_t *dma_addr, gfp_t flag,
|
|
dma_addr_t *dma_addr, gfp_t flag,
|
|
struct dma_attrs *attrs)
|
|
struct dma_attrs *attrs)
|
|
{
|
|
{
|