aboutsummaryrefslogtreecommitdiffstats
path: root/arch/openrisc/include/asm/dma-mapping.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-07-19 06:02:32 -0700
committerStafford Horne <shorne@gmail.com>2018-07-21 13:49:48 +0900
commit5600779ea5f3d29fadc62208e21feb0bb9b813aa (patch)
treed49bf4a374600be039fdcd22a0b70bc28af324ad /arch/openrisc/include/asm/dma-mapping.h
parentopenrisc: fix cache maintainance the the sync_single_for_device DMA operation (diff)
downloadlinux-dev-5600779ea5f3d29fadc62208e21feb0bb9b813aa.tar.xz
linux-dev-5600779ea5f3d29fadc62208e21feb0bb9b813aa.zip
openrisc: use generic dma_noncoherent_ops
Switch to the generic noncoherent direct mapping implementation. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'arch/openrisc/include/asm/dma-mapping.h')
-rw-r--r--arch/openrisc/include/asm/dma-mapping.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/arch/openrisc/include/asm/dma-mapping.h b/arch/openrisc/include/asm/dma-mapping.h
deleted file mode 100644
index e212a1f0b6d2..000000000000
--- a/arch/openrisc/include/asm/dma-mapping.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * OpenRISC Linux
- *
- * Linux architectural port borrowing liberally from similar works of
- * others. All original copyrights apply as per the original source
- * declaration.
- *
- * OpenRISC implementation:
- * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- */
-
-#ifndef __ASM_OPENRISC_DMA_MAPPING_H
-#define __ASM_OPENRISC_DMA_MAPPING_H
-
-/*
- * See Documentation/DMA-API-HOWTO.txt and
- * Documentation/DMA-API.txt for documentation.
- */
-
-#include <linux/dma-debug.h>
-#include <linux/dma-mapping.h>
-
-extern const struct dma_map_ops or1k_dma_map_ops;
-
-static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
-{
- return &or1k_dma_map_ops;
-}
-
-#endif /* __ASM_OPENRISC_DMA_MAPPING_H */