]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
dma-mapping.h, x86: remove last user of dma_mapping_ops->map_simple
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 21 Aug 2008 15:12:09 +0000 (00:12 +0900)
committerIngo Molnar <mingo@elte.hu>
Fri, 22 Aug 2008 06:43:25 +0000 (08:43 +0200)
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: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/pci-gart_64.c
include/asm-x86/dma-mapping.h

index e81df25dc067af7fe99ab33c61f18c81ce3508bf..cfd7ec25e37e31037455b86ebc02b2f49410940d 100644 (file)
@@ -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,
index 8e16095d1fa9bbb4469219a43ef5f21c6c185c08..3a9a6f5e681a7805044688bc6389f5112afd4783 100644 (file)
@@ -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,