diff options
| author | Sumit Semwal <[email protected]> | 2015-01-23 07:23:43 +0000 |
|---|---|---|
| committer | Sumit Semwal <[email protected]> | 2015-04-21 09:17:16 +0000 |
| commit | d8fbe341beb617ebb22b98fb893e4aa32ae2d864 (patch) | |
| tree | 2e19c951d2b6ffef2319d87ec8a6c39e4e1ab8ee /net/unix/af_unix.c | |
| parent | Merge tag 'remoteproc-4.1-next' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
| download | kernel-d8fbe341beb617ebb22b98fb893e4aa32ae2d864.tar.gz kernel-d8fbe341beb617ebb22b98fb893e4aa32ae2d864.zip | |
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 <[email protected]>
Reviewed-by: Daniel Thompson <[email protected]>
Acked-by: Mauro Carvalho Chehab <[email protected]>
Acked-by: Dave Airlie <[email protected]>
Signed-off-by: Sumit Semwal <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
