Sumit Semwal d8fbe341be 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 <maarten.lankhorst@canonical.com>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Acked-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
2015-04-21 14:47:16 +05:30
..
2015-04-08 11:13:06 +10:00
2015-04-08 11:13:06 +10:00
2015-04-02 18:49:21 +02:00
2014-11-13 16:12:36 +01:00
2014-08-04 10:07:39 +02:00
2014-08-08 11:00:26 -07:00
2013-10-31 09:55:45 +01:00
2014-11-13 16:10:27 +01:00
2015-01-27 10:14:40 +01:00
2014-04-04 09:12:51 +02:00
2015-01-27 10:14:50 +01:00
2014-06-05 23:09:17 +02:00