Passes channel controller number as the first argument to edma_alloc_slot() API. Without this patch, kernel compilation fails with "too few arguments to function 'edma_alloc_slot'" error.
This patch has been tested on DM6446 EVM. Signed-off-by: Sudhakar Rajashekhara <[email protected]> --- This patch applies to davinci git on top of the following patch. http://linux.omap.com/pipermail/davinci-linux-open-source/2009-June/014236.html drivers/mmc/host/davinci_mmc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/mmc/host/davinci_mmc.c index 170a0a0..e1095f3 100644 --- a/drivers/mmc/host/davinci_mmc.c +++ b/drivers/mmc/host/davinci_mmc.c @@ -589,7 +589,7 @@ static int __init davinci_acquire_dma_channels(struct mmc_davinci_host *host) * channel as needed to handle a scatterlist. */ for (i = 0; i < ARRAY_SIZE(host->links); i++) { - r = edma_alloc_slot(EDMA_SLOT_ANY); + r = edma_alloc_slot(EDMA_CTLR(host->txdma), EDMA_SLOT_ANY); if (r < 0) { dev_dbg(mmc_dev(host->mmc), "dma PaRAM alloc --> %d\n", r); -- 1.5.6 _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
