diff options
author | Sumit Semwal <sumit.semwal@linaro.org> | 2013-03-22 18:22:16 +0530 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@linaro.org> | 2013-05-01 16:35:36 +0530 |
commit | 78df969550e7187f4dcd70b737217dcbc8e9a06a (patch) | |
tree | a10524a478ce83555904ce27363bd68140f031bc /lib | |
parent | 5f56886521d6ddd3648777fae44d82382dd8c87f (diff) | |
download | linux-78df969550e7187f4dcd70b737217dcbc8e9a06a.tar.bz2 |
dma-buf: replace dma_buf_export() with dma_buf_export_named()
For debugging purposes, it is useful to have a name-string added
while exporting buffers. Hence, dma_buf_export() is replaced with
dma_buf_export_named(), which additionally takes 'exp_name' as a
parameter.
For backward compatibility, and for lazy exporters who don't wish to
name themselves, a #define dma_buf_export() is also made available,
which adds a __FILE__ instead of 'exp_name'.
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
[Thanks for the idea!]
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions