We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b49efd7 commit bf15f90Copy full SHA for bf15f90
arch/hexagon/include/asm/dma-mapping.h
@@ -37,11 +37,4 @@ static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
37
return dma_ops;
38
}
39
40
-static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size)
41
-{
42
- if (!dev->dma_mask)
43
- return 0;
44
- return addr + size - 1 <= *dev->dma_mask;
45
-}
46
-
47
#endif
arch/hexagon/kernel/dma.c
@@ -19,6 +19,7 @@
19
*/
20
21
#include <linux/dma-mapping.h>
22
+#include <linux/dma-direct.h>
23
#include <linux/bootmem.h>
24
#include <linux/genalloc.h>
25
#include <asm/dma-mapping.h>
0 commit comments