summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-04-14 15:23:40 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-04-14 15:23:40 +0900
commite588a00fe546695e93077b3f7b7009f0c31d9370 (patch)
tree3bf87434001d26d9ec408d06d93ae9bc7fb5fd7a /arch
parent7b41f5688c1e03c41c772cd1766d6d80189380dd (diff)
downloadlinux-e588a00fe546695e93077b3f7b7009f0c31d9370.tar.bz2
sh: Add in PCI bus for DMA API debugging.
This adds in the pci_bus_type for DMA API debug. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/drivers/pci/pci.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/drivers/pci/pci.c b/arch/sh/drivers/pci/pci.c
index e36c7b870861..0d6ac7a1db49 100644
--- a/arch/sh/drivers/pci/pci.c
+++ b/arch/sh/drivers/pci/pci.c
@@ -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);