summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/atmel-mci.c
diff options
context:
space:
mode:
authorDan Williams2009-01-06 19:38:19 +0100
committerDan Williams2009-01-06 19:38:19 +0100
commit7dd602510128d7a64b11ff3b7d4f30ac8e3946ce (patch)
tree6a87f942c72b0b02d24db7144cad435211178fcc /drivers/mmc/host/atmel-mci.c
parentdmaengine: remove 'bigref' infrastructure (diff)
downloadkernel-qcow2-linux-7dd602510128d7a64b11ff3b7d4f30ac8e3946ce.tar.gz
kernel-qcow2-linux-7dd602510128d7a64b11ff3b7d4f30ac8e3946ce.tar.xz
kernel-qcow2-linux-7dd602510128d7a64b11ff3b7d4f30ac8e3946ce.zip
dmaengine: kill enum dma_state_client
DMA_NAK is now useless. We can just use a bool instead. Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/mmc/host/atmel-mci.c')
-rw-r--r--drivers/mmc/host/atmel-mci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c
index 4b567a0408e1..b0042d06eaf7 100644
--- a/drivers/mmc/host/atmel-mci.c
+++ b/drivers/mmc/host/atmel-mci.c
@@ -1544,14 +1544,14 @@ static void __exit atmci_cleanup_slot(struct atmel_mci_slot *slot,
}
#ifdef CONFIG_MMC_ATMELMCI_DMA
-static enum dma_state_client filter(struct dma_chan *chan, void *slave)
+static bool filter(struct dma_chan *chan, void *slave)
{
struct dw_dma_slave *dws = slave;
if (dws->dma_dev == chan->device->dev)
- return DMA_ACK;
+ return true;
else
- return DMA_DUP;
+ return false;
}
#endif