spi: spi-zynq-qspi: add spi-mem to driver kconfig dependencies
authorAmit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
Fri, 3 Nov 2023 18:43:51 +0000 (00:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Nov 2023 10:59:38 +0000 (11:59 +0100)
[ Upstream commit c2ded280a4b1b7bd93e53670528504be08d24967 ]

Zynq QSPI driver has been converted to use spi-mem framework so
add spi-mem to driver kconfig dependencies.

Fixes: 67dca5e580f1 ("spi: spi-mem: Add support for Zynq QSPI controller")
Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Link: https://lore.kernel.org/r/1699037031-702858-1-git-send-email-radhey.shyam.pandey@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/spi/Kconfig

index 2c21d5b..bcbf840 100644 (file)
@@ -1157,6 +1157,7 @@ config SPI_XTENSA_XTFPGA
 config SPI_ZYNQ_QSPI
        tristate "Xilinx Zynq QSPI controller"
        depends on ARCH_ZYNQ || COMPILE_TEST
 config SPI_ZYNQ_QSPI
        tristate "Xilinx Zynq QSPI controller"
        depends on ARCH_ZYNQ || COMPILE_TEST
+       depends on SPI_MEM
        help
          This enables support for the Zynq Quad SPI controller
          in master mode.
        help
          This enables support for the Zynq Quad SPI controller
          in master mode.