diff options
-rw-r--r-- | include/linux/dma-mapping.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h index 347fdc32177a..aa32fecd1d34 100644 --- a/include/linux/dma-mapping.h +++ b/include/linux/dma-mapping.h | |||
@@ -41,6 +41,9 @@ struct dma_map_ops { | |||
41 | int (*mapping_error)(struct device *dev, dma_addr_t dma_addr); | 41 | int (*mapping_error)(struct device *dev, dma_addr_t dma_addr); |
42 | int (*dma_supported)(struct device *dev, u64 mask); | 42 | int (*dma_supported)(struct device *dev, u64 mask); |
43 | int (*set_dma_mask)(struct device *dev, u64 mask); | 43 | int (*set_dma_mask)(struct device *dev, u64 mask); |
44 | #ifdef ARCH_HAS_DMA_GET_REQUIRED_MASK | ||
45 | u64 (*get_required_mask)(struct device *dev); | ||
46 | #endif | ||
44 | int is_phys; | 47 | int is_phys; |
45 | }; | 48 | }; |
46 | 49 | ||