removed warnings with some ugly casts...
This commit is contained in:
@@ -56,19 +56,21 @@ static struct dma_driver_interface dma_interface =
|
|||||||
.dma_get_channel = dma_get_channel,
|
.dma_get_channel = dma_get_channel,
|
||||||
.dma_free_channel = dma_free_channel,
|
.dma_free_channel = dma_free_channel,
|
||||||
.dma_clear_channel = dma_clear_channel,
|
.dma_clear_channel = dma_clear_channel,
|
||||||
.MCD_startDma = MCD_startDma,
|
.MCD_startDma = (int (*)(long, int8_t *, unsigned int, int8_t *, unsigned int,
|
||||||
.MCD_dmaStatus = MCD_dmaStatus,
|
unsigned int, unsigned int, unsigned int, int,
|
||||||
.MCD_XferProgrQuery = MCD_XferProgrQuery,
|
unsigned int, unsigned int)) MCD_startDma,
|
||||||
.MCD_killDma = MCD_killDma,
|
.MCD_dmaStatus = (int32_t (*)(int32_t)) MCD_dmaStatus,
|
||||||
.MCD_continDma = MCD_continDma,
|
.MCD_XferProgrQuery = (int32_t (*)(int32_t, MCD_XferProg *)) MCD_XferProgrQuery,
|
||||||
.MCD_pauseDma = MCD_pauseDma,
|
.MCD_killDma = (int32_t (*)(int32_t)) MCD_killDma,
|
||||||
.MCD_resumeDma = MCD_resumeDma,
|
.MCD_continDma = (int32_t (*)(int32_t)) MCD_continDma,
|
||||||
.MCD_csumQuery = MCD_csumQuery,
|
.MCD_pauseDma = (int32_t (*)(int32_t)) MCD_pauseDma,
|
||||||
|
.MCD_resumeDma = (int32_t (*)(int32_t)) MCD_resumeDma,
|
||||||
|
.MCD_csumQuery = (int32_t (*)(int32_t, uint32_t *)) MCD_csumQuery,
|
||||||
.dma_malloc = driver_mem_alloc,
|
.dma_malloc = driver_mem_alloc,
|
||||||
.dma_free = driver_mem_free
|
.dma_free = driver_mem_free
|
||||||
};
|
};
|
||||||
|
|
||||||
extern const struct fb_info *info_fb;
|
extern struct fb_info *info_fb;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* driver interface struct for the PCI_BIOS BaS driver
|
* driver interface struct for the PCI_BIOS BaS driver
|
||||||
|
|||||||
Reference in New Issue
Block a user