Commit 6a091404 authored by Kunihiko Hayashi's avatar Kunihiko Hayashi Committed by Mark Brown

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: default avatarKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/1589185530-28170-1-git-send-email-hayashi.kunihiko@socionext.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent a041e672
...@@ -844,6 +844,7 @@ config SPI_TXX9 ...@@ -844,6 +844,7 @@ config SPI_TXX9
config SPI_UNIPHIER config SPI_UNIPHIER
tristate "Socionext UniPhier SPI Controller" tristate "Socionext UniPhier SPI Controller"
depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF
depends on HAS_IOMEM
help help
This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller. This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment