From: Sumit Semwal Date: Fri, 23 Jan 2015 07:23:43 +0000 (+0530) Subject: dma-buf: cleanup dma_buf_export() to make it easily extensible X-Git-Tag: omap-for-v4.2/o2_dc~22^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8fbe341beb617ebb22b98fb893e4aa32ae2d864;p=pandora-kernel.git dma-buf: cleanup dma_buf_export() to make it easily extensible At present, dma_buf_export() takes a series of parameters, which makes it difficult to add any new parameters for exporters, if required. Make it simpler by moving all these parameters into a struct, and pass the struct * as parameter to dma_buf_export(). While at it, unite dma_buf_export_named() with dma_buf_export(), and change all callers accordingly. Reviewed-by: Maarten Lankhorst Reviewed-by: Daniel Thompson Acked-by: Mauro Carvalho Chehab Acked-by: Dave Airlie Signed-off-by: Sumit Semwal --- Reading git-diff-tree failed