OSDN Git Service

dma-buf: make map_atomic and map function pointers optional
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 29 May 2018 13:59:18 +0000 (15:59 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 1 Jun 2018 06:59:35 +0000 (08:59 +0200)
commit09ea0dfbf972c63dfea8cf46f2fb67f39e4d833b
tree33c731ecd3febc843c2eaefd2c33002d336e925a
parente065a8dd30af703b4794dc740c0825ee12b92efd
dma-buf: make map_atomic and map function pointers optional

So drivers don't need dummy functions just returning NULL.

Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20180529135918.19729-1-kraxel@redhat.com
drivers/dma-buf/dma-buf.c
include/linux/dma-buf.h