summaryrefslogtreecommitdiff
path: root/drivers/atm/fore200e.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-10-09 17:57:17 +0300
committerDavid S. Miller <davem@davemloft.net>2018-10-11 08:38:50 +0300
commitf3fadcb5644aa94c8197f1699798d95baa5d59a8 (patch)
tree16673540311e8293e09c3f734a540e8fd3cd0f8d /drivers/atm/fore200e.h
parent8b08adbd87a66c7844481efa70e061c9efae277b (diff)
downloadlinux-f3fadcb5644aa94c8197f1699798d95baa5d59a8.tar.xz
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.h4
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*);