linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] spi: uniphier: Depend on HAS_IOMEM
@ 2020-05-11  8:25 Kunihiko Hayashi
  2020-05-11  8:25 ` [PATCH 2/2] spi: uniphier: Use devm_platform_get_and_ioremap_resource() to simplify code Kunihiko Hayashi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kunihiko Hayashi @ 2020-05-11  8:25 UTC (permalink / raw)
  To: Mark Brown, Masahiro Yamada
  Cc: linux-spi, linux-arm-kernel, linux-kernel, Kunihiko Hayashi

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>
---
 drivers/spi/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 17e7e4a..099d6a7 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.
 
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-05-11 17:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-11  8:25 [PATCH 1/2] spi: uniphier: Depend on HAS_IOMEM Kunihiko Hayashi
2020-05-11  8:25 ` [PATCH 2/2] spi: uniphier: Use devm_platform_get_and_ioremap_resource() to simplify code Kunihiko Hayashi
2020-05-11 11:25 ` [PATCH 1/2] spi: uniphier: Depend on HAS_IOMEM Mark Brown
2020-05-11 17:21 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).