Messages in this thread Patch in this message | | | From | Nehal Bakulchandra Shah <> | Subject | [PATCH v3 3/3] spi:amd:Fix for compilation error for non X86 platforms. | Date | Wed, 30 Jun 2021 17:34:25 +0530 |
| |
Update the KConfig with dependency for ACPI as driver is only supported for x86 platform. This fixes the compilation error reported by kernel test robot.
Reported-by: kernel test robot <lkp@intel.com> Reviewed-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> Reviewed-by: Liang Liang (Leo) <liang.liang@amd.com> Signed-off-by: Nehal Bakulchandra Shah <Nehal-Bakulchandra.shah@amd.com> --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index e71a4c514f7b..532387929085 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -978,7 +978,7 @@ config SPI_ZYNQMP_GQSPI config SPI_AMD tristate "AMD SPI controller" - depends on SPI_MASTER || COMPILE_TEST + depends on (SPI_MASTER && ACPI) || COMPILE_TEST help Enables SPI controller driver for AMD SoC. -- 2.25.1
| |