OSDN Git Service

spi: uniphier: Depend on HAS_IOMEM
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Mon, 11 May 2020 08:25:29 +0000 (17:25 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 11 May 2020 17:17:51 +0000 (18:17 +0100)
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>
drivers/spi/Kconfig

index 17e7e4a..099d6a7 100644 (file)
@@ -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.