Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 766af9fa authored by FUJITA Tomonori's avatar FUJITA Tomonori Committed by Ingo Molnar
Browse files

dma-mapping.h, x86: remove last user of dma_mapping_ops->map_simple



pci-dma.c doesn't use map_simple hook any more so we can remove it
from struct dma_mapping_ops now.

Signed-off-by: default avatarFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent a38409fb
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -720,7 +720,6 @@ extern int agp_amd64_init(void);

static struct dma_mapping_ops gart_dma_ops = {
	.map_single			= gart_map_single,
	.map_simple			= gart_map_simple,
	.unmap_single			= gart_unmap_single,
	.sync_single_for_cpu		= NULL,
	.sync_single_for_device		= NULL,
+0 −3
Original line number Diff line number Diff line
@@ -26,9 +26,6 @@ struct dma_mapping_ops {
				void *vaddr, dma_addr_t dma_handle);
	dma_addr_t      (*map_single)(struct device *hwdev, phys_addr_t ptr,
				size_t size, int direction);
	/* like map_single, but doesn't check the device mask */
	dma_addr_t      (*map_simple)(struct device *hwdev, phys_addr_t ptr,
				size_t size, int direction);
	void            (*unmap_single)(struct device *dev, dma_addr_t addr,
				size_t size, int direction);
	void            (*sync_single_for_cpu)(struct device *hwdev,