diff options
Diffstat (limited to 'arch/mips/pci/pci-octeon.c')
-rw-r--r-- | arch/mips/pci/pci-octeon.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/pci/pci-octeon.c b/arch/mips/pci/pci-octeon.c index 4b0c347d7a82..5b5ed76c6f47 100644 --- a/arch/mips/pci/pci-octeon.c +++ b/arch/mips/pci/pci-octeon.c | |||
@@ -11,6 +11,7 @@ | |||
11 | #include <linux/interrupt.h> | 11 | #include <linux/interrupt.h> |
12 | #include <linux/time.h> | 12 | #include <linux/time.h> |
13 | #include <linux/delay.h> | 13 | #include <linux/delay.h> |
14 | #include <linux/platform_device.h> | ||
14 | #include <linux/swiotlb.h> | 15 | #include <linux/swiotlb.h> |
15 | 16 | ||
16 | #include <asm/time.h> | 17 | #include <asm/time.h> |
@@ -704,6 +705,10 @@ static int __init octeon_pci_setup(void) | |||
704 | */ | 705 | */ |
705 | cvmx_write_csr(CVMX_NPI_PCI_INT_SUM2, -1); | 706 | cvmx_write_csr(CVMX_NPI_PCI_INT_SUM2, -1); |
706 | 707 | ||
708 | if (IS_ERR(platform_device_register_simple("octeon_pci_edac", | ||
709 | -1, NULL, 0))) | ||
710 | pr_err("Registation of co_pci_edac failed!\n"); | ||
711 | |||
707 | octeon_pci_dma_init(); | 712 | octeon_pci_dma_init(); |
708 | 713 | ||
709 | return 0; | 714 | return 0; |