Re: [PATCH 06/10] fpga manager: Add altera-ps-spi driver for Altera FPGAs
From: Anatolij Gustschin
Date: Fri Jun 09 2017 - 09:19:15 EST
On Fri, 9 Jun 2017 11:51:12 +0200
Greg Kroah-Hartman gregkh@xxxxxxxxxxxxxxxxxxx wrote:
...
>I get the following build error with this patch:
>
>ERROR: "__spi_register_driver" [drivers/fpga/altera-ps-spi.ko] undefined!
it is due to enabled COMPILE_TEST and disabled CONFIG_SPI.
>So I'll just ignore this whole series, can you fix these issues up and
>resend?
would "depends on SPI || (COMPILE_TEST && SPI)" in Kconfig be a proper
fix for this? Anyone an idea?
Thanks,
Anatolij