dma-buf: Make mmap callback actually optional
authorAndrew F. Davis <afd@ti.com>
Fri, 29 Mar 2019 16:52:01 +0000 (11:52 -0500)
committerSumit Semwal <sumit.semwal@linaro.org>
Wed, 24 Apr 2019 13:25:39 +0000 (18:55 +0530)
commite3a9d6c53195591303b7f165f3bb0226741f911e
tree29de8b3cdc104b526991e62dfa776673fa2a8a6c
parentd5ae7712b7ffbb435e8f3d98f2123eff4734c77f
dma-buf: Make mmap callback actually optional

The docs state the callback is optional but it is not, make it optional.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190329165201.16233-1-afd@ti.com
drivers/dma-buf/dma-buf.c