summaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/pci_iommu.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-05-09 16:04:52 +0200
committerMatt Turner <mattst88@gmail.com>2018-05-22 18:10:36 -0700
commitf5e82fa26063e6fad10624ff600457d878fa6e41 (patch)
treee29365055b72187db0533578a80ca2dd3952569e /arch/alpha/kernel/pci_iommu.c
parent6db615431a21b6057f68ed87583a663ee69f7601 (diff)
downloadlinux-f5e82fa26063e6fad10624ff600457d878fa6e41.tar.bz2
alpha: simplify get_arch_dma_ops
Remove the dma_ops indirection. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha/kernel/pci_iommu.c')
-rw-r--r--arch/alpha/kernel/pci_iommu.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/alpha/kernel/pci_iommu.c b/arch/alpha/kernel/pci_iommu.c
index 83b34b9188ea..6923b0d9c1e1 100644
--- a/arch/alpha/kernel/pci_iommu.c
+++ b/arch/alpha/kernel/pci_iommu.c
@@ -950,6 +950,4 @@ const struct dma_map_ops alpha_pci_ops = {
.mapping_error = alpha_pci_mapping_error,
.dma_supported = alpha_pci_supported,
};
-
-const struct dma_map_ops *dma_ops = &alpha_pci_ops;
-EXPORT_SYMBOL(dma_ops);
+EXPORT_SYMBOL(alpha_pci_ops);