ANDROID: GKI: dma: Add set_dma_mask hook to struct dma_map_ops
POWERPC needs this hook. SPARC could use it too. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Acked-by: Becky Bruce <beckyb@kernel.crashing.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> (cherry picked from commitf726f30e32
) Signed-off-by: Swathi Sridhar <swatsrid@codeaurora.org> (cherry picked from commit4008eb493a
) [surenb: original patch is cherry picked from 4.4 kernel] Bug: 154347709 Test: build and verify no ABI diffs Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: I1d08b56e2cbb1c6cb3478654b89abca3af83709a
This commit is contained in:
parent
8c54aad926
commit
22d715642a
1 changed files with 1 additions and 0 deletions
|
@ -135,6 +135,7 @@ struct dma_map_ops {
|
|||
enum dma_data_direction direction);
|
||||
int (*mapping_error)(struct device *dev, dma_addr_t dma_addr);
|
||||
int (*dma_supported)(struct device *dev, u64 mask);
|
||||
int (*set_dma_mask)(struct device *dev, u64 mask);
|
||||
void *(*remap)(struct device *dev, void *cpu_addr, dma_addr_t handle,
|
||||
size_t size, unsigned long attrs);
|
||||
void (*unremap)(struct device *dev, void *remapped_address,
|
||||
|
|
Loading…
Reference in a new issue