Commit e588a00f authored by Paul Mundt's avatar Paul Mundt

sh: Add in PCI bus for DMA API debugging.

This adds in the pci_bus_type for DMA API debug.
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 7b41f568
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/dma-debug.h>
#include <asm/io.h> #include <asm/io.h>
static int __init pcibios_init(void) static int __init pcibios_init(void)
...@@ -43,6 +44,8 @@ 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); pci_fixup_irqs(pci_common_swizzle, pcibios_map_platform_irq);
dma_debug_add_bus(&pci_bus_type);
return 0; return 0;
} }
subsys_initcall(pcibios_init); subsys_initcall(pcibios_init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment