summaryrefslogtreecommitdiff
path: root/drivers/dma/virt-dma.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-05-11 02:39:27 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-07-01 17:15:22 +0400
commitfe045874aaf4480386c65baf1acae82af4c5e21f (patch)
tree00bd605046eb02e925b710bc625b9f9b70fa3c94 /drivers/dma/virt-dma.h
parent50437bff7f7374f86837986f66e15e73a364f894 (diff)
downloadlinux-fe045874aaf4480386c65baf1acae82af4c5e21f.tar.xz
dmaengine: virt-dma: vchan_find_desc()
Add a function to find a descriptor within the depths of the virtualized DMA channel support. Needed for tx_status functionality. Tested-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/dma/virt-dma.h')
-rw-r--r--drivers/dma/virt-dma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/virt-dma.h b/drivers/dma/virt-dma.h
index 825bb9623175..44ec57e7e419 100644
--- a/drivers/dma/virt-dma.h
+++ b/drivers/dma/virt-dma.h
@@ -40,8 +40,8 @@ static inline struct virt_dma_chan *to_virt_chan(struct dma_chan *chan)
}
void vchan_dma_desc_free_list(struct virt_dma_chan *vc, struct list_head *head);
-
void vchan_init(struct virt_dma_chan *vc, struct dma_device *dmadev);
+struct virt_dma_desc *vchan_find_desc(struct virt_dma_chan *, dma_cookie_t);
/**
* vchan_tx_prep - prepare a descriptor