diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-01-06 11:38:17 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-01-06 11:38:17 -0700 |
commit | 209b84a88fe81341b4d8d465acc4a67cb7c3feb3 (patch) | |
tree | 134632ed8c914f0ee497e7a22bc616d84e068119 /include/linux/dmaengine.h | |
parent | 74465b4ff9ac1da503025c0a0042e023bfa6505c (diff) | |
download | blackbird-obmc-linux-209b84a88fe81341b4d8d465acc4a67cb7c3feb3.tar.gz blackbird-obmc-linux-209b84a88fe81341b4d8d465acc4a67cb7c3feb3.zip |
dmaengine: replace dma_async_client_register with dmaengine_get
Now that clients no longer need to be notified of channel arrival
dma_async_client_register can simply increment the dmaengine_ref_count.
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/dmaengine.h')
-rw-r--r-- | include/linux/dmaengine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index d63544cf8a1a..37d95db156d3 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -318,8 +318,8 @@ struct dma_device { /* --- public DMA engine API --- */ -void dma_async_client_register(struct dma_client *client); -void dma_async_client_unregister(struct dma_client *client); +void dmaengine_get(void); +void dmaengine_put(void); void dma_async_client_chan_request(struct dma_client *client); dma_cookie_t dma_async_memcpy_buf_to_buf(struct dma_chan *chan, void *dest, void *src, size_t len); |