habanalabs: driver's Kconfig must select DMA_SHARED_BUFFER

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>
This commit is contained in:
Oded Gabbay 2019-02-22 21:29:59 +02:00 committed by Greg Kroah-Hartman
parent a507fbb975
commit 8737d03720

View File

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