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>
This commit is contained in:

committed by
David S. Miller

parent
8b08adbd87
commit
f3fadcb564
@@ -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*);
|
||||
|
Reference in New Issue
Block a user