From: Nehal Bakulchandra Shah <Nehal-Bakulchandra.shah@amd.com>
To: <broonie@kernel.org>
Cc: <linux-spi@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
"Nehal Bakulchandra Shah" <Nehal-Bakulchandra.shah@amd.com>,
kernel test robot <lkp@intel.com>,
Shyam Sundar S K <Shyam-sundar.S-k@amd.com>,
Liang Liang <liang.liang@amd.com>
Subject: [PATCH v3 3/3] spi:amd:Fix for compilation error for non X86 platforms.
Date: Wed, 30 Jun 2021 17:34:25 +0530 [thread overview]
Message-ID: <20210630120425.606957-4-Nehal-Bakulchandra.shah@amd.com> (raw)
In-Reply-To: <20210630120425.606957-1-Nehal-Bakulchandra.shah@amd.com>
Update the KConfig with dependency for ACPI as driver is only
supported for x86 platform. This fixes the compilation error
reported by kernel test robot.
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Reviewed-by: Liang Liang (Leo) <liang.liang@amd.com>
Signed-off-by: Nehal Bakulchandra Shah <Nehal-Bakulchandra.shah@amd.com>
---
drivers/spi/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index e71a4c514f7b..532387929085 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -978,7 +978,7 @@ config SPI_ZYNQMP_GQSPI
config SPI_AMD
tristate "AMD SPI controller"
- depends on SPI_MASTER || COMPILE_TEST
+ depends on (SPI_MASTER && ACPI) || COMPILE_TEST
help
Enables SPI controller driver for AMD SoC.
--
2.25.1
next prev parent reply other threads:[~2021-06-30 12:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-30 12:04 [PATCH v3 0/3] spi:amd:Support for new generation of AMD SOCs Nehal Bakulchandra Shah
2021-06-30 12:04 ` [PATCH v3 1/3] spi:amd: Add support for latest platform Nehal Bakulchandra Shah
2021-06-30 12:04 ` [PATCH v3 2/3] spi:amd: Fix for transfer large size of data Nehal Bakulchandra Shah
2021-06-30 12:04 ` Nehal Bakulchandra Shah [this message]
2021-06-30 12:47 ` [PATCH v3 3/3] spi:amd:Fix for compilation error for non X86 platforms Mark Brown
2021-06-30 14:44 ` Shah, Nehal-bakulchandra
2021-06-30 15:57 ` Mark Brown
2021-07-27 11:54 ` Shah, Nehal-bakulchandra
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=20210630120425.606957-4-Nehal-Bakulchandra.shah@amd.com \
--to=nehal-bakulchandra.shah@amd.com \
--cc=Shyam-sundar.S-k@amd.com \
--cc=broonie@kernel.org \
--cc=liang.liang@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=lkp@intel.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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®