X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=include%2Fasm-sparc%2Fdma-mapping.h;h=f3a641e6b2c88645cc09852923d1804bba410546;hb=e7bc15a9ad07269c48732e9a9874e5938b4700ee;hp=6db83dc93cb7c58fa595d0666c7f44d96c096f84;hpb=d6754b401a15eaa16492ea5dbaa4826361d3f411;p=cascardo%2Flinux.git diff --git a/include/asm-sparc/dma-mapping.h b/include/asm-sparc/dma-mapping.h index 6db83dc93cb7..f3a641e6b2c8 100644 --- a/include/asm-sparc/dma-mapping.h +++ b/include/asm-sparc/dma-mapping.h @@ -5,20 +5,7 @@ #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 */