]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
spi: microchip: Enable compile-testing for FPGA SPI controllers
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 25 Nov 2025 16:06:56 +0000 (17:06 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 25 Nov 2025 16:13:14 +0000 (16:13 +0000)
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>
drivers/spi/Kconfig

index e34aa246eef90ea9e43b58f603e50653e0fadfd3..2421d9ca22b67e7f3911d6f2ed2398223b7bb281 100644 (file)
@@ -873,9 +873,9 @@ config SPI_PL022
          bus and a PL022 controller, say Y or M here.
 
 config SPI_POLARFIRE_SOC
-
        tristate "Microchip FPGA SPI controllers"
-       depends on SPI_MASTER && ARCH_MICROCHIP
+       depends on SPI_MASTER
+       depends on ARCH_MICROCHIP || COMPILE_TEST
        help
          This enables the SPI driver for Microchip FPGA SPI controllers.
          Say Y or M here if you want to use the "hard" controllers on