aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/dma-mapping.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-arm/dma-mapping.h b/include/asm-arm/dma-mapping.h
index 925d016dd4b5..d62ade4e4cbb 100644
--- a/include/asm-arm/dma-mapping.h
+++ b/include/asm-arm/dma-mapping.h
@@ -21,6 +21,9 @@ extern void consistent_sync(void *kaddr, size_t size, int rw);
21 * properly. For example, if your device can only drive the low 24-bits 21 * properly. For example, if your device can only drive the low 24-bits
22 * during bus mastering, then you would pass 0x00ffffff as the mask 22 * during bus mastering, then you would pass 0x00ffffff as the mask
23 * to this function. 23 * to this function.
24 *
25 * FIXME: This should really be a platform specific issue - we should
26 * return false if GFP_DMA allocations may not satisfy the supplied 'mask'.
24 */ 27 */
25static inline int dma_supported(struct device *dev, u64 mask) 28static inline int dma_supported(struct device *dev, u64 mask)
26{ 29{