common: dma-mapping: introduce mmap method
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 21 Dec 2011 15:55:33 +0000 (16:55 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 28 Mar 2012 14:36:42 +0000 (16:36 +0200)
commit9adc537452e1e341cabd39a02d4788d3c510b0e2
tree17911e3c2e58cf20759e001ce718c8514a6a4027
parent645ae3bce3e62541f8dc2701dde2a2791d842b6c
common: dma-mapping: introduce mmap method

Introduce new generic mmap method with attributes argument.

This method lets drivers to create a userspace mapping for a DMA buffer
in generic, architecture independent way.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
include/linux/dma-mapping.h