hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/atm/fore200e.h
....@@ -805,12 +805,6 @@
805805 int status_alignment; /* status words DMA alignment requirement */
806806 u32 (*read)(volatile u32 __iomem *);
807807 void (*write)(u32, volatile u32 __iomem *);
808
- u32 (*dma_map)(struct fore200e*, void*, int, int);
809
- void (*dma_unmap)(struct fore200e*, u32, int, int);
810
- void (*dma_sync_for_cpu)(struct fore200e*, u32, int, int);
811
- void (*dma_sync_for_device)(struct fore200e*, u32, int, int);
812
- int (*dma_chunk_alloc)(struct fore200e*, struct chunk*, int, int, int);
813
- void (*dma_chunk_free)(struct fore200e*, struct chunk*);
814808 int (*configure)(struct fore200e*);
815809 int (*map)(struct fore200e*);
816810 void (*reset)(struct fore200e*);
....@@ -844,7 +838,7 @@
844838 enum fore200e_state state; /* device state */
845839
846840 char name[16]; /* device name */
847
- void* bus_dev; /* bus-specific kernel data */
841
+ struct device *dev;
848842 int irq; /* irq number */
849843 unsigned long phys_base; /* physical base address */
850844 void __iomem * virt_base; /* virtual base address */