X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=include%2Fasm-sparc%2Fdma-mapping.h;h=f3a641e6b2c88645cc09852923d1804bba410546;hb=e7bc15a9ad07269c48732e9a9874e5938b4700ee;hp=d7c3b0f0a90103de71853fbdaa5aedf380197c49;hpb=27d1097d39509494706eaa2620ef3b1e780a3224;p=cascardo%2Flinux.git diff --git a/include/asm-sparc/dma-mapping.h b/include/asm-sparc/dma-mapping.h index d7c3b0f0a901..f3a641e6b2c8 100644 --- a/include/asm-sparc/dma-mapping.h +++ b/include/asm-sparc/dma-mapping.h @@ -1,25 +1,11 @@ #ifndef _ASM_SPARC_DMA_MAPPING_H #define _ASM_SPARC_DMA_MAPPING_H -#include #ifdef CONFIG_PCI #include #else - -static inline void *dma_alloc_coherent(struct device *dev, size_t size, - dma_addr_t *dma_handle, gfp_t flag) -{ - BUG(); - return NULL; -} - -static inline void dma_free_coherent(struct device *dev, size_t size, - void *vaddr, dma_addr_t dma_handle) -{ - BUG(); -} - +#include #endif /* PCI */ #endif /* _ASM_SPARC_DMA_MAPPING_H */