summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/device.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-02-13 08:01:20 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2019-02-18 12:41:03 +0100
commit74194cdaac41f6dfaacd9433f739dcbd83125d0b (patch)
tree6e2dc6d362d1c2f55e9678f4de418da50a86e5b5 /arch/powerpc/include/asm/device.h
parentpowerpc/dma: move pci_dma_dev_setup_swiotlb to fsl_pci.c (diff)
downloadlinux-74194cdaac41f6dfaacd9433f739dcbd83125d0b.tar.xz
linux-74194cdaac41f6dfaacd9433f739dcbd83125d0b.zip
powerpc/dma: remove max_direct_dma_addr
The max_direct_dma_addr duplicates the bus_dma_mask field in struct device. Use the generic field instead. Signed-off-by: Christoph Hellwig <hch@lst.de> Tested-by: Christian Zigotzky <chzigotzky@xenosoft.de> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/device.h')
-rw-r--r--arch/powerpc/include/asm/device.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/device.h b/arch/powerpc/include/asm/device.h
index 3814e1c2d4bc..a130be13ee83 100644
--- a/arch/powerpc/include/asm/device.h
+++ b/arch/powerpc/include/asm/device.h
@@ -38,9 +38,6 @@ struct dev_archdata {
#ifdef CONFIG_IOMMU_API
void *iommu_domain;
#endif
-#ifdef CONFIG_SWIOTLB
- dma_addr_t max_direct_dma_addr;
-#endif
#ifdef CONFIG_PPC64
struct pci_dn *pci_data;
#endif