diff options
author | Christoph Hellwig <hch@lst.de> | 2018-10-09 16:57:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-11 07:38:50 +0200 |
commit | f3fadcb5644aa94c8197f1699798d95baa5d59a8 (patch) | |
tree | 16673540311e8293e09c3f734a540e8fd3cd0f8d /drivers/atm/fore200e.h | |
parent | fore200e: remove the align_size field of struct chunk (diff) | |
download | linux-f3fadcb5644aa94c8197f1699798d95baa5d59a8.tar.xz linux-f3fadcb5644aa94c8197f1699798d95baa5d59a8.zip |
fore200e: devirtualize dma mapping calls
There is no need for an indirection before calling the dma mapping
routines now that we store a struct device in struct fore200e.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm/fore200e.h')
-rw-r--r-- | drivers/atm/fore200e.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/atm/fore200e.h b/drivers/atm/fore200e.h index c8c6ea818ffc..f62fc9b85db0 100644 --- a/drivers/atm/fore200e.h +++ b/drivers/atm/fore200e.h @@ -805,10 +805,6 @@ typedef struct fore200e_bus { int status_alignment; /* status words DMA alignment requirement */ u32 (*read)(volatile u32 __iomem *); void (*write)(u32, volatile u32 __iomem *); - u32 (*dma_map)(struct fore200e*, void*, int, int); - void (*dma_unmap)(struct fore200e*, u32, int, int); - void (*dma_sync_for_cpu)(struct fore200e*, u32, int, int); - void (*dma_sync_for_device)(struct fore200e*, u32, int, int); int (*dma_chunk_alloc)(struct fore200e*, struct chunk*, int, int, int); void (*dma_chunk_free)(struct fore200e*, struct chunk*); int (*configure)(struct fore200e*); |