Skip to content
Commit aaf4f97f authored by Geert Uytterhoeven's avatar Geert Uytterhoeven
Browse files

asm-generic/dma-mapping-broken.h: Provide dma_alloc_attrs()/dma_free_attrs()



Since commit 0049fb26 ("OMAPFB: use
dma_alloc_attrs to allocate memory") we have one non-arch user of
dma_{alloc,free}_attrs().

Hence provide these functions, as wrappers around
dma_{alloc,free}_coherent().

Note that most architectures do it the other way around. But as these are
dummy functions, we don't care.

Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 4a09ab67
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