From: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> To: Mark Brown <broonie@kernel.org>, Masahiro Yamada <yamada.masahiro@socionext.com> Cc: linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Subject: [PATCH 1/2] spi: uniphier: Depend on HAS_IOMEM Date: Mon, 11 May 2020 17:25:29 +0900 [thread overview] Message-ID: <1589185530-28170-1-git-send-email-hayashi.kunihiko@socionext.com> (raw) 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
WARNING: multiple messages have this Message-ID (diff)
From: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> To: Mark Brown <broonie@kernel.org>, Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org Subject: [PATCH 1/2] spi: uniphier: Depend on HAS_IOMEM Date: Mon, 11 May 2020 17:25:29 +0900 [thread overview] Message-ID: <1589185530-28170-1-git-send-email-hayashi.kunihiko@socionext.com> (raw) 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2020-05-11 8:25 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-05-11 8:25 Kunihiko Hayashi [this message] 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 8:25 ` Kunihiko Hayashi 2020-05-11 11:25 ` [PATCH 1/2] spi: uniphier: Depend on HAS_IOMEM Mark Brown 2020-05-11 11:25 ` Mark Brown 2020-05-11 17:21 ` Mark Brown 2020-05-11 17:21 ` Mark Brown
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1589185530-28170-1-git-send-email-hayashi.kunihiko@socionext.com \ --to=hayashi.kunihiko@socionext.com \ --cc=broonie@kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-spi@vger.kernel.org \ --cc=yamada.masahiro@socionext.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.