Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
s390: move s390_pci_dma_ops to asm/pci_dma.h
Browse files Browse the repository at this point in the history
This is not needed in drivers, so move it to a private header.

Signed-off-by: Christoph Hellwig <hch@lst.de>
  • Loading branch information
Christoph Hellwig committed Jan 10, 2018
1 parent b0615c3 commit 4b1b62b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/s390/include/asm/dma-mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
#include <linux/dma-debug.h>
#include <linux/io.h>

extern const struct dma_map_ops s390_pci_dma_ops;

static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
{
return &dma_noop_ops;
Expand Down
3 changes: 3 additions & 0 deletions arch/s390/include/asm/pci_dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,7 @@ void dma_cleanup_tables(unsigned long *);
unsigned long *dma_walk_cpu_trans(unsigned long *rto, dma_addr_t dma_addr);
void dma_update_cpu_trans(unsigned long *entry, void *page_addr, int flags);

extern const struct dma_map_ops s390_pci_dma_ops;


#endif

0 comments on commit 4b1b62b

Please sign in to comment.