]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
habanalabs: driver's Kconfig must select DMA_SHARED_BUFFER
authorOded Gabbay <oded.gabbay@gmail.com>
Fri, 22 Feb 2019 19:29:59 +0000 (21:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Feb 2019 09:18:13 +0000 (10:18 +0100)
The driver uses the DMA_BUF module which is built only if
DMA_SHARED_BUFFER is selected. DMA_SHARED_BUFFER doesn't have any
dependencies so it is ok to select it (as done by many other components).

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/habanalabs/Kconfig

index b7f38a14caf561326524b9c6ef913ea4efc39116..80400a035dc135aa458f9f658b207cad55df250c 100644 (file)
@@ -6,6 +6,7 @@ config HABANA_AI
        tristate "HabanaAI accelerators (habanalabs)"
        depends on PCI
        select FRAME_VECTOR
+       select DMA_SHARED_BUFFER
        help
          Enables PCIe card driver for Habana's AI Processors (AIP) that are
          designed to accelerate Deep Learning inference and training workloads.