Skip to content

Commit

Permalink
sh: Add in PCI bus for DMA API debugging.
Browse files Browse the repository at this point in the history
This adds in the pci_bus_type for DMA API debug.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Apr 14, 2009
1 parent 7b41f56 commit e588a00
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/sh/drivers/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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);
Expand Down

0 comments on commit e588a00

Please sign in to comment.