diff options
Diffstat (limited to 'drivers/dma/dmaengine.c')
-rw-r--r-- | drivers/dma/dmaengine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c index 87399cafce37..ffc4ee9c5e21 100644 --- a/drivers/dma/dmaengine.c +++ b/drivers/dma/dmaengine.c | |||
@@ -694,7 +694,7 @@ int dma_async_device_register(struct dma_device *device) | |||
694 | BUG_ON(dma_has_cap(DMA_SLAVE, device->cap_mask) && | 694 | BUG_ON(dma_has_cap(DMA_SLAVE, device->cap_mask) && |
695 | !device->device_prep_slave_sg); | 695 | !device->device_prep_slave_sg); |
696 | BUG_ON(dma_has_cap(DMA_SLAVE, device->cap_mask) && | 696 | BUG_ON(dma_has_cap(DMA_SLAVE, device->cap_mask) && |
697 | !device->device_terminate_all); | 697 | !device->device_control); |
698 | 698 | ||
699 | BUG_ON(!device->device_alloc_chan_resources); | 699 | BUG_ON(!device->device_alloc_chan_resources); |
700 | BUG_ON(!device->device_free_chan_resources); | 700 | BUG_ON(!device->device_free_chan_resources); |