diff options
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 | ||