From: FUJITA Tomonori Date: Tue, 4 Aug 2009 19:08:24 +0000 (+0000) Subject: dma: Add set_dma_mask hook to struct dma_map_ops X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f726f30e32305a34a203ff975e60885aa7556c6a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Becky Bruce Signed-off-by: Benjamin Herrenschmidt --- diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h index c0f6c3cd788c..91b761846061 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; };