diff options
Diffstat (limited to 'include/linux/dma-mapping.h')
-rw-r--r-- | include/linux/dma-mapping.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h index e8f8e8fb244d..81ed9b2d84dc 100644 --- a/include/linux/dma-mapping.h +++ b/include/linux/dma-mapping.h | |||
@@ -704,7 +704,6 @@ static inline void *dma_zalloc_coherent(struct device *dev, size_t size, | |||
704 | return ret; | 704 | return ret; |
705 | } | 705 | } |
706 | 706 | ||
707 | #ifdef CONFIG_HAS_DMA | ||
708 | static inline int dma_get_cache_alignment(void) | 707 | static inline int dma_get_cache_alignment(void) |
709 | { | 708 | { |
710 | #ifdef ARCH_DMA_MINALIGN | 709 | #ifdef ARCH_DMA_MINALIGN |
@@ -712,7 +711,6 @@ static inline int dma_get_cache_alignment(void) | |||
712 | #endif | 711 | #endif |
713 | return 1; | 712 | return 1; |
714 | } | 713 | } |
715 | #endif | ||
716 | 714 | ||
717 | /* flags for the coherent memory api */ | 715 | /* flags for the coherent memory api */ |
718 | #define DMA_MEMORY_EXCLUSIVE 0x01 | 716 | #define DMA_MEMORY_EXCLUSIVE 0x01 |