Loading include/linux/dma-mapping.h +3 −0 Original line number Original line Diff line number Diff line Loading @@ -87,6 +87,8 @@ static inline int is_device_dma_capable(struct device *dev) #else #else #include <asm-generic/dma-mapping-broken.h> #include <asm-generic/dma-mapping-broken.h> #endif #endif #ifndef CONFIG_NO_DMA static inline void *dma_remap(struct device *dev, void *cpu_addr, static inline void *dma_remap(struct device *dev, void *cpu_addr, dma_addr_t dma_handle, size_t size, struct dma_attrs *attrs) dma_addr_t dma_handle, size_t size, struct dma_attrs *attrs) { { Loading Loading @@ -117,6 +119,7 @@ static inline void dma_unremap(struct device *dev, void *remapped_addr, return ops->unremap(dev, remapped_addr, size); return ops->unremap(dev, remapped_addr, size); } } #endif static inline u64 dma_get_mask(struct device *dev) static inline u64 dma_get_mask(struct device *dev) Loading Loading
include/linux/dma-mapping.h +3 −0 Original line number Original line Diff line number Diff line Loading @@ -87,6 +87,8 @@ static inline int is_device_dma_capable(struct device *dev) #else #else #include <asm-generic/dma-mapping-broken.h> #include <asm-generic/dma-mapping-broken.h> #endif #endif #ifndef CONFIG_NO_DMA static inline void *dma_remap(struct device *dev, void *cpu_addr, static inline void *dma_remap(struct device *dev, void *cpu_addr, dma_addr_t dma_handle, size_t size, struct dma_attrs *attrs) dma_addr_t dma_handle, size_t size, struct dma_attrs *attrs) { { Loading Loading @@ -117,6 +119,7 @@ static inline void dma_unremap(struct device *dev, void *remapped_addr, return ops->unremap(dev, remapped_addr, size); return ops->unremap(dev, remapped_addr, size); } } #endif static inline u64 dma_get_mask(struct device *dev) static inline u64 dma_get_mask(struct device *dev) Loading