sh: Add in PCI bus for DMA API debugging.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 14 Apr 2009 06:23:40 +0000 (15:23 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 14 Apr 2009 06:23:40 +0000 (15:23 +0900)
This adds in the pci_bus_type for DMA API debug.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/pci/pci.c

index e36c7b870861ada365ccacad17b94108a851a6d4..0d6ac7a1db4987f55bbd874bae48fb96359fe314 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/kernel.h>
 #include <linux/pci.h>
 #include <linux/init.h>
+#include <linux/dma-debug.h>
 #include <asm/io.h>
 
 static int __init pcibios_init(void)
@@ -43,6 +44,8 @@ static int __init pcibios_init(void)
 
        pci_fixup_irqs(pci_common_swizzle, pcibios_map_platform_irq);
 
+       dma_debug_add_bus(&pci_bus_type);
+
        return 0;
 }
 subsys_initcall(pcibios_init);
This page took 0.026643 seconds and 5 git commands to generate.