From: Kunihiko Hayashi Date: Mon, 11 May 2020 08:25:29 +0000 (+0900) Subject: spi: uniphier: Depend on HAS_IOMEM X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=6a091404bf95f1e17d4ad149f1c010a9360e88ba;p=uclinux-h8%2Flinux.git 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 Link: https://lore.kernel.org/r/1589185530-28170-1-git-send-email-hayashi.kunihiko@socionext.com Signed-off-by: Mark Brown --- 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.