diff options
author | 2009-04-14 15:23:40 +0900 | |
---|---|---|
committer | 2009-04-14 15:23:40 +0900 | |
commit | e588a00fe546695e93077b3f7b7009f0c31d9370 (patch) | |
tree | 3bf87434001d26d9ec408d06d93ae9bc7fb5fd7a | |
parent | sh: Pre-allocate a reasonable number of DMA debug entries. (diff) | |
download | linux-e588a00fe546695e93077b3f7b7009f0c31d9370.tar.gz linux-e588a00fe546695e93077b3f7b7009f0c31d9370.tar.bz2 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>
-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); |