summaryrefslogtreecommitdiffstats
path: root/drivers/spi/Kconfig
diff options
context:
space:
mode:
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>2020-05-11 17:25:29 +0900
committerMark Brown <broonie@kernel.org>2020-05-11 18:17:51 +0100
commit6a091404bf95f1e17d4ad149f1c010a9360e88ba (patch)
treedc388f80cddd58810215f04353e3f8160c6fb598 /drivers/spi/Kconfig
parenta041e672cb57201d152bfc314e52d41e7643375d (diff)
downloadlinux-6a091404bf95f1e17d4ad149f1c010a9360e88ba.tar.bz2
spi: uniphier: Depend on HAS_IOMEM
The driver uses devm_ioremap_resource() which is only available when CONFIG_HAS_IOMEM is set, so the driver depends on this option. Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Link: https://lore.kernel.org/r/1589185530-28170-1-git-send-email-hayashi.kunihiko@socionext.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r--drivers/spi/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 17e7e4afc0fc..099d6a75a371 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -844,6 +844,7 @@ config SPI_TXX9
config SPI_UNIPHIER
tristate "Socionext UniPhier SPI Controller"
depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF
+ depends on HAS_IOMEM
help
This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller.