diff options
Diffstat (limited to 'drivers/dma/dmatest.c')
-rw-r--r-- | drivers/dma/dmatest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dma/dmatest.c b/drivers/dma/dmatest.c index 1d6e48f9cd02..c77d47c4ec5b 100644 --- a/drivers/dma/dmatest.c +++ b/drivers/dma/dmatest.c | |||
@@ -363,12 +363,12 @@ static int dmatest_add_channel(struct dma_chan *chan) | |||
363 | return 0; | 363 | return 0; |
364 | } | 364 | } |
365 | 365 | ||
366 | static enum dma_state_client filter(struct dma_chan *chan, void *param) | 366 | static bool filter(struct dma_chan *chan, void *param) |
367 | { | 367 | { |
368 | if (!dmatest_match_channel(chan) || !dmatest_match_device(chan->device)) | 368 | if (!dmatest_match_channel(chan) || !dmatest_match_device(chan->device)) |
369 | return DMA_DUP; | 369 | return false; |
370 | else | 370 | else |
371 | return DMA_ACK; | 371 | return true; |
372 | } | 372 | } |
373 | 373 | ||
374 | static int __init dmatest_init(void) | 374 | static int __init dmatest_init(void) |