summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2009-08-04 19:08:24 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-08-28 14:24:10 +1000
commitf726f30e32305a34a203ff975e60885aa7556c6a (patch)
tree566213a2c1821f79f4534dd86fa0eb16ace45ac4 /include
parent3702977fa7d1a1a95caa387121fa7c9f4cae35f3 (diff)
downloadop-kernel-dev-f726f30e32305a34a203ff975e60885aa7556c6a.zip
op-kernel-dev-f726f30e32305a34a203ff975e60885aa7556c6a.tar.gz
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/dma-mapping.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
index c0f6c3c..91b7618 100644
--- a/include/linux/dma-mapping.h
+++ b/include/linux/dma-mapping.h
@@ -58,6 +58,7 @@ struct dma_map_ops {
enum dma_data_direction dir);
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);
int is_phys;
};
OpenPOWER on IntegriCloud