Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 253c60c4 authored by Min Liu's avatar Min Liu
Browse files

qcacmn: Fix compilation error

Fix compilarion error for WHUNT

Change-Id: I984a2cd7bebb6594372f001d39b3f0e57038d293
CRs-Fixed: 2332205
parent 629a0ce6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1536,7 +1536,7 @@ static inline void *qdf_mem_dma_alloc(qdf_device_t osdev, void *dev,
	return vaddr;
}

inline void
static inline void
qdf_mem_dma_free(void *dev, qdf_size_t size, void *vaddr, qdf_dma_addr_t paddr)
{
	qdf_mem_free(vaddr);
@@ -1549,7 +1549,7 @@ static inline void *qdf_mem_dma_alloc(qdf_device_t osdev, void *dev,
	return dma_alloc_coherent(dev, size, paddr, qdf_mem_malloc_flags());
}

inline void
static inline void
qdf_mem_dma_free(void *dev, qdf_size_t size, void *vaddr, qdf_dma_addr_t paddr)
{
	dma_free_coherent(dev, size, vaddr, paddr);