Skip to content

Commit 4b1b62b

Browse files
author
Christoph Hellwig
committed
s390: move s390_pci_dma_ops to asm/pci_dma.h
This is not needed in drivers, so move it to a private header. Signed-off-by: Christoph Hellwig <[email protected]>
1 parent b0615c3 commit 4b1b62b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

arch/s390/include/asm/dma-mapping.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
#include <linux/dma-debug.h>
1010
#include <linux/io.h>
1111

12-
extern const struct dma_map_ops s390_pci_dma_ops;
13-
1412
static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
1513
{
1614
return &dma_noop_ops;

arch/s390/include/asm/pci_dma.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,4 +201,7 @@ void dma_cleanup_tables(unsigned long *);
201201
unsigned long *dma_walk_cpu_trans(unsigned long *rto, dma_addr_t dma_addr);
202202
void dma_update_cpu_trans(unsigned long *entry, void *page_addr, int flags);
203203

204+
extern const struct dma_map_ops s390_pci_dma_ops;
205+
206+
204207
#endif

0 commit comments

Comments
 (0)