diff options
author | Christoph Hellwig <hch@lst.de> | 2018-05-09 16:04:52 +0200 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2018-05-23 03:10:36 +0200 |
commit | f5e82fa26063e6fad10624ff600457d878fa6e41 (patch) | |
tree | e29365055b72187db0533578a80ca2dd3952569e /arch/alpha/include | |
parent | alpha: use dma_direct_ops for jensen (diff) | |
download | linux-f5e82fa26063e6fad10624ff600457d878fa6e41.tar.xz linux-f5e82fa26063e6fad10624ff600457d878fa6e41.zip |
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/include')
-rw-r--r-- | arch/alpha/include/asm/dma-mapping.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/alpha/include/asm/dma-mapping.h b/arch/alpha/include/asm/dma-mapping.h index 76ce923ecca1..8beeafd4f68e 100644 --- a/arch/alpha/include/asm/dma-mapping.h +++ b/arch/alpha/include/asm/dma-mapping.h @@ -2,14 +2,14 @@ #ifndef _ALPHA_DMA_MAPPING_H #define _ALPHA_DMA_MAPPING_H -extern const struct dma_map_ops *dma_ops; +extern const struct dma_map_ops alpha_pci_ops; static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) { #ifdef CONFIG_ALPHA_JENSEN return &dma_direct_ops; #else - return dma_ops; + return &alpha_pci_ops; #endif } |