diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-04-14 15:23:40 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-04-14 15:23:40 +0900 |
commit | e588a00fe546695e93077b3f7b7009f0c31d9370 (patch) | |
tree | 3bf87434001d26d9ec408d06d93ae9bc7fb5fd7a /arch | |
parent | 7b41f5688c1e03c41c772cd1766d6d80189380dd (diff) | |
download | blackbird-op-linux-e588a00fe546695e93077b3f7b7009f0c31d9370.tar.gz blackbird-op-linux-e588a00fe546695e93077b3f7b7009f0c31d9370.zip |
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.c | 3 |
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); |