X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=include%2Fasm-sparc%2Fdma-mapping.h;h=f3a641e6b2c88645cc09852923d1804bba410546;hb=b0fac02370cffad956ff3de5e8ed4df7e7b875d7;hp=d7c3b0f0a90103de71853fbdaa5aedf380197c49;hpb=210cc679faf0e1cabda9fc5d1279644f5e52aecb;p=~andy%2Flinux diff --git a/include/asm-sparc/dma-mapping.h b/include/asm-sparc/dma-mapping.h index d7c3b0f0a90..f3a641e6b2c 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 */