dma-buf: DMABUF_MOVE_NOTIFY should depend on DMA_SHARED_BUFFER
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 2 Sep 2021 12:49:11 +0000 (14:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 26 Sep 2021 12:08:59 +0000 (14:08 +0200)
commitca907291e11619843ea8b555ca30cf322a8d2514
tree2c3d648cda8dbd92aeba994d405cb98345a137b5
parentb9a1526d51744075a6245d3f3a5544b10a5405c9
dma-buf: DMABUF_MOVE_NOTIFY should depend on DMA_SHARED_BUFFER

[ Upstream commit c4f3a3460a5daebc772d9263500e4099b11e7300 ]

Move notify between drivers is an option of DMA-BUF.  Enabling
DMABUF_MOVE_NOTIFY without DMA_SHARED_BUFFER does not have any impact,
as drivers/dma-buf/ is not entered during the build when
DMA_SHARED_BUFFER is disabled.

Fixes: bb42df4662a44765 ("dma-buf: add dynamic DMA-buf handling v15")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210902124913.2698760-2-geert@linux-m68k.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/dma-buf/Kconfig