]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/dma-debug.h
dma-debug: fix dma_debug_add_bus() definition for !CONFIG_DMA_API_DEBUG
[linux-2.6-omap-h63xx.git] / include / linux / dma-debug.h
index e851d23e91ebda865a5938569f74885e921a2ce9..28d53cb7b5a22c099feb9a2aa19b2e3010e8d124 100644 (file)
@@ -83,7 +83,7 @@ extern void debug_dma_dump_mappings(struct device *dev);
 
 #else /* CONFIG_DMA_API_DEBUG */
 
-void dma_debug_add_bus(struct bus_type *bus)
+static inline void dma_debug_add_bus(struct bus_type *bus)
 {
 }