This driver requires Apple rtkit headers in order to build.  Express
that requirement in Kconfig as well.

Signed-off-by: Tom Rini <tr...@konsulko.com>
---
 drivers/nvme/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/nvme/Kconfig b/drivers/nvme/Kconfig
index d138867666bd..b69fc4ed53d2 100644
--- a/drivers/nvme/Kconfig
+++ b/drivers/nvme/Kconfig
@@ -11,6 +11,7 @@ config NVME
 
 config NVME_APPLE
        bool "Apple NVMe controller support"
+       depends on ARCH_APPLE
        select NVME
        help
          This option enables support for the NVMe storage
-- 
2.43.0

Reply via email to