[SPARC64]: Fix sparc64 build errors when CONFIG_PCI=n.
[pandora-kernel.git] / include / asm-sparc64 / dma-mapping.h
index 0f5b89c..27c46fb 100644 (file)
@@ -160,6 +160,20 @@ static inline void dma_free_coherent(struct device *dev, size_t size,
        BUG();
 }
 
+static inline void
+dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size,
+                       enum dma_data_direction direction)
+{
+       BUG();
+}
+
+static inline void
+dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, size_t size,
+                          enum dma_data_direction direction)
+{
+       BUG();
+}
+
 #endif /* PCI */