OSDN Git Service

dma-direct: rename dma_noop to dma_direct
authorChristoph Hellwig <hch@lst.de>
Tue, 9 Jan 2018 15:30:23 +0000 (16:30 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 Jan 2018 08:35:06 +0000 (09:35 +0100)
commit002e67454f61bb67d8071ac4d0cacb86a01d18e0
treeef15f40222144d529cc2e2b2bfdb72fad7fd4510
parentc5cd037d1c8044fbd131c57822a67a1576eb16e9
dma-direct: rename dma_noop to dma_direct

The trivial direct mapping implementation already does a virtual to
physical translation which isn't strictly a noop, and will soon learn
to do non-direct but linear physical to dma translations through the
device offset and a few small tricks.  Rename it to a better fitting
name.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com>
12 files changed:
MAINTAINERS
arch/arm/Kconfig
arch/arm/include/asm/dma-mapping.h
arch/arm/mm/dma-mapping-nommu.c
arch/m32r/Kconfig
arch/riscv/Kconfig
arch/s390/Kconfig
include/asm-generic/dma-mapping.h
include/linux/dma-mapping.h
lib/Kconfig
lib/Makefile
lib/dma-direct.c [moved from lib/dma-noop.c with 52% similarity]