Skip to content

Commit a330a9c

Browse files
Christoph Hellwigpaulburton
authored andcommitted
MIPS: Octeon: move swiotlb declarations out of dma-coherence.h
No need to pull them into a global header. Signed-off-by: Christoph Hellwig <hch@lst.de> Patchwork: https://patchwork.linux-mips.org/patch/19538/ Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: Florian Fainelli <f.fainelli@gmail.com> Cc: David Daney <david.daney@cavium.com> Cc: Kevin Cernekee <cernekee@gmail.com> Cc: Jiaxun Yang <jiaxun.yang@flygoat.com> Cc: Tom Bogendoerfer <tsbogend@alpha.franken.de> Cc: Huacai Chen <chenhc@lemote.com> Cc: iommu@lists.linux-foundation.org Cc: linux-mips@linux-mips.org
1 parent 1f99e4b commit a330a9c

File tree

4 files changed

+3
-22
lines changed

4 files changed

+3
-22
lines changed

arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h

Lines changed: 0 additions & 18 deletions
This file was deleted.

arch/mips/include/asm/octeon/pci-octeon.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,7 @@ enum octeon_dma_bar_type {
6363
*/
6464
extern enum octeon_dma_bar_type octeon_dma_bar_type;
6565

66+
void octeon_pci_dma_init(void);
67+
extern char *octeon_swiotlb;
68+
6669
#endif

arch/mips/pci/pci-octeon.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
#include <asm/octeon/cvmx-pci-defs.h>
2222
#include <asm/octeon/pci-octeon.h>
2323

24-
#include <dma-coherence.h>
25-
2624
#define USE_OCTEON_INTERNAL_ARBITER
2725

2826
/*

arch/mips/pci/pcie-octeon.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ union cvmx_pcie_address {
9494

9595
static int cvmx_pcie_rc_initialize(int pcie_port);
9696

97-
#include <dma-coherence.h>
98-
9997
/**
10098
* Return the Core virtual base address for PCIe IO access. IOs are
10199
* read/written as an offset from this address.

0 commit comments

Comments
 (0)