spi: davinci: Make available for build test
authorMark Brown <broonie@kernel.org>
Thu, 23 Feb 2023 17:20:24 +0000 (17:20 +0000)
committerMark Brown <broonie@kernel.org>
Sun, 5 Mar 2023 23:39:09 +0000 (23:39 +0000)
There is no build time dependency on the DaVicni or Keystone architecture
support so add an || COMPILE_TEST so we've got better build coverage of the
driver.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230221-spi-arch-deps-v1-4-83d1566474cf@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/Kconfig

index f29cfba..4bfb644 100644 (file)
@@ -276,7 +276,7 @@ config SPI_COLDFIRE_QSPI
 
 config SPI_DAVINCI
        tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller"
-       depends on ARCH_DAVINCI || ARCH_KEYSTONE
+       depends on ARCH_DAVINCI || ARCH_KEYSTONE || COMPILE_TEST
        select SPI_BITBANG
        help
          SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules.