kbuild test reported that Alpha and some of the architectures are missing readsx/writesx functions. spi-synquacer driver is only targeted for arm and arm64 platforms. With that, added ARM and ARM64 dependence in Kconfig. This patch also specifies the default compile type as module. Fixes: b0823ee35cf9b ("spi: Add spi driver for Socionext SynQuacer platform") Reported-by: kbuild test robot <lkp@xxxxxxxxx> Signed-off-by: Masahisa Kojima <masahisa.kojima@xxxxxxxxxx> --- drivers/spi/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index ae9c81214298..667d341e8e95 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -736,6 +736,8 @@ config SPI_SUN6I config SPI_SYNQUACER tristate "Socionext's SynQuacer HighSpeed SPI controller" depends on ARCH_SYNQUACER || COMPILE_TEST + depends on ARM || ARM64 + default m if ARCH_SYNQUACER help SPI driver for Socionext's High speed SPI controller which provides various operating modes for interfacing to serial peripheral devices -- 2.14.2