Skip to content

Commit 84b7344

Browse files
geertubroonie
authored andcommitted
spi: microchip: Enable compile-testing for FPGA SPI controllers
The Microchip FPGA SPI controller driver builds fine on other platforms. While at it, drop a superfluous empty line. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://patch.msgid.link/6f96848b026f9a343b80d48179149b30c6b76d1d.1764086805.git.geert+renesas@glider.be Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent afbf836 commit 84b7344

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/spi/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -873,9 +873,9 @@ config SPI_PL022
873873
bus and a PL022 controller, say Y or M here.
874874

875875
config SPI_POLARFIRE_SOC
876-
877876
tristate "Microchip FPGA SPI controllers"
878-
depends on SPI_MASTER && ARCH_MICROCHIP
877+
depends on SPI_MASTER
878+
depends on ARCH_MICROCHIP || COMPILE_TEST
879879
help
880880
This enables the SPI driver for Microchip FPGA SPI controllers.
881881
Say Y or M here if you want to use the "hard" controllers on

0 commit comments

Comments
 (0)