From: Sumit Semwal Date: Fri, 22 Mar 2013 12:52:16 +0000 (+0530) Subject: dma-buf: replace dma_buf_export() with dma_buf_export_named() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~84^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78df969550e7187f4dcd70b737217dcbc8e9a06a;p=pandora-kernel.git 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 [Thanks for the idea!] Reviewed-by: Daniel Vetter Signed-off-by: Sumit Semwal --- Reading git-diff-tree failed