]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/dmaengine.h
dmaengine: Add dma_client parameter to device_alloc_chan_resources
[linux-2.6-omap-h63xx.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)(