dmaengine: Add dma_client parameter to device_alloc_chan_resources
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / linux / dmaengine.h
index 6432b83432201ab5e431c32e2b163b5d1c6388c7..ba89b0f5056e260004a41a72a12d9b22bd94bf06 100644 (file)
@@ -281,7 +281,8 @@ struct dma_device {
        int dev_id;
        struct device *dev;
 
-       int (*device_alloc_chan_resources)(struct dma_chan *chan);
+       int (*device_alloc_chan_resources)(struct dma_chan *chan,
+                       struct dma_client *client);
        void (*device_free_chan_resources)(struct dma_chan *chan);
 
        struct dma_async_tx_descriptor *(*device_prep_dma_memcpy)(