diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-01-06 13:38:19 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-01-06 13:38:19 -0500 |
commit | 7dd602510128d7a64b11ff3b7d4f30ac8e3946ce (patch) | |
tree | 6a87f942c72b0b02d24db7144cad435211178fcc /drivers/mmc | |
parent | f27c580c3628d79b17f38976d842a6d7f3616e2e (diff) |
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')
-rw-r--r-- | drivers/mmc/host/atmel-mci.c | 6 |
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, | |||
1544 | } | 1544 | } |
1545 | 1545 | ||
1546 | #ifdef CONFIG_MMC_ATMELMCI_DMA | 1546 | #ifdef CONFIG_MMC_ATMELMCI_DMA |
1547 | static enum dma_state_client filter(struct dma_chan *chan, void *slave) | 1547 | static bool filter(struct dma_chan *chan, void *slave) |
1548 | { | 1548 | { |
1549 | struct dw_dma_slave *dws = slave; | 1549 | struct dw_dma_slave *dws = slave; |
1550 | 1550 | ||
1551 | if (dws->dma_dev == chan->device->dev) | 1551 | if (dws->dma_dev == chan->device->dev) |
1552 | return DMA_ACK; | 1552 | return true; |
1553 | else | 1553 | else |
1554 | return DMA_DUP; | 1554 | return false; |
1555 | } | 1555 | } |
1556 | #endif | 1556 | #endif |
1557 | 1557 | ||