From: Geert Uytterhoeven <geert+renesas@glider.be> To: Jay Fang <f.fangjian@huawei.com>, Wei Xu <xuwei5@hisilicon.com>, Mark Brown <broonie@kernel.org> Cc: linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven <geert+renesas@glider.be> Subject: [PATCH] spi: SPI_HISI_KUNPENG should depend on ARCH_HISI Date: Tue, 13 Apr 2021 14:27:23 +0200 [thread overview] Message-ID: <d93934dfdbb4d35e35371517de3b64c144aeb5ef.1618316782.git.geert+renesas@glider.be> (raw) The HiSilicon Kunpeng SPI controller is only present on HiSilicon Kunpeng SoCs. Hence add a dependency on ARCH_HISI, to prevent asking the user about this driver when configuring a kernel without Hisilicon platform support. Fixes: c770d8631e1810d8 ("spi: Add HiSilicon SPI Controller Driver for Kunpeng SoCs") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 1ffcad19c0562a39..7d438ad343598bb8 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -334,7 +334,7 @@ config SPI_FSL_QUADSPI config SPI_HISI_KUNPENG tristate "HiSilicon SPI Controller for Kunpeng SoCs" - depends on (ARM64 && ACPI) || COMPILE_TEST + depends on (ARM64 && ARCH_HISI && ACPI) || COMPILE_TEST help This enables support for HiSilicon SPI controller found on Kunpeng SoCs. -- 2.25.1
WARNING: multiple messages have this Message-ID (diff)
From: Geert Uytterhoeven <geert+renesas@glider.be> To: Jay Fang <f.fangjian@huawei.com>, Wei Xu <xuwei5@hisilicon.com>, Mark Brown <broonie@kernel.org> Cc: linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven <geert+renesas@glider.be> Subject: [PATCH] spi: SPI_HISI_KUNPENG should depend on ARCH_HISI Date: Tue, 13 Apr 2021 14:27:23 +0200 [thread overview] Message-ID: <d93934dfdbb4d35e35371517de3b64c144aeb5ef.1618316782.git.geert+renesas@glider.be> (raw) The HiSilicon Kunpeng SPI controller is only present on HiSilicon Kunpeng SoCs. Hence add a dependency on ARCH_HISI, to prevent asking the user about this driver when configuring a kernel without Hisilicon platform support. Fixes: c770d8631e1810d8 ("spi: Add HiSilicon SPI Controller Driver for Kunpeng SoCs") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 1ffcad19c0562a39..7d438ad343598bb8 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -334,7 +334,7 @@ config SPI_FSL_QUADSPI config SPI_HISI_KUNPENG tristate "HiSilicon SPI Controller for Kunpeng SoCs" - depends on (ARM64 && ACPI) || COMPILE_TEST + depends on (ARM64 && ARCH_HISI && ACPI) || COMPILE_TEST help This enables support for HiSilicon SPI controller found on Kunpeng SoCs. -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2021-04-13 12:28 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-04-13 12:27 Geert Uytterhoeven [this message] 2021-04-13 12:27 ` [PATCH] spi: SPI_HISI_KUNPENG should depend on ARCH_HISI Geert Uytterhoeven 2021-04-13 12:47 ` Mark Brown 2021-04-13 12:47 ` Mark Brown 2021-04-13 12:59 ` Jay Fang 2021-04-13 12:59 ` Jay Fang 2021-04-13 13:09 ` Mark Brown 2021-04-13 13:09 ` 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=d93934dfdbb4d35e35371517de3b64c144aeb5ef.1618316782.git.geert+renesas@glider.be \ --to=geert+renesas@glider.be \ --cc=broonie@kernel.org \ --cc=f.fangjian@huawei.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-spi@vger.kernel.org \ --cc=xuwei5@hisilicon.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.