diff options
author | Christoph Hellwig <hch@lst.de> | 2018-08-20 13:54:29 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-09-08 11:17:33 +0200 |
commit | e0a9317d900426233621fd88d7ef2ce83c9987aa (patch) | |
tree | 20f448115376bdc024c061f520c75a789714fc8e /arch/hexagon/include/asm/dma-mapping.h | |
parent | hexagon: implement the sync_sg_for_device DMA operation (diff) | |
download | linux-e0a9317d900426233621fd88d7ef2ce83c9987aa.tar.xz linux-e0a9317d900426233621fd88d7ef2ce83c9987aa.zip |
hexagon: use generic dma_noncoherent_ops
Switch to the generic noncoherent direct mapping implementation.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/hexagon/include/asm/dma-mapping.h')
-rw-r--r-- | arch/hexagon/include/asm/dma-mapping.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/arch/hexagon/include/asm/dma-mapping.h b/arch/hexagon/include/asm/dma-mapping.h deleted file mode 100644 index 263f6acbfb0f..000000000000 --- a/arch/hexagon/include/asm/dma-mapping.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * DMA operations for the Hexagon architecture - * - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 and - * only version 2 as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#ifndef _ASM_DMA_MAPPING_H -#define _ASM_DMA_MAPPING_H - -#include <linux/types.h> -#include <linux/cache.h> -#include <linux/mm.h> -#include <linux/scatterlist.h> -#include <linux/dma-debug.h> -#include <asm/io.h> - -struct device; - -extern const struct dma_map_ops *dma_ops; - -static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) -{ - return dma_ops; -} - -#endif |