From 79f9cd35b05e3e91ccf9b4038a8b74b9362b5da7 Mon Sep 17 00:00:00 2001 From: Lukas Wunner Date: Mon, 14 Nov 2016 16:10:33 +0100 Subject: [PATCH] thunderbolt, efi: Fix Kconfig dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fix this EFI build failure on certain (rand)configs: drivers/firmware/efi/apple-properties.c:149:9: error: implicit declaration of function ???efi_get_device_by_path??? [-Werror=implicit-function-declaration] which is due to: warning: (THUNDERBOLT) selects APPLE_PROPERTIES which has unmet direct dependencies (EFI && EFI_STUB && X86) Signed-off-by: Lukas Wunner Cc: Andreas Noever Cc: Ard Biesheuvel Cc: Linus Torvalds Cc: Matt Fleming Cc: Pedro Vilaça Cc: Peter Jones Cc: Peter Zijlstra Cc: Pierre Moreau [MacBookPro11,3] Cc: Thomas Gleixner Cc: linux-efi@vger.kernel.org Link: http://lkml.kernel.org/r/20161114151033.GA10141@wunner.de Signed-off-by: Ingo Molnar --- drivers/thunderbolt/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thunderbolt/Kconfig b/drivers/thunderbolt/Kconfig index 0056df7f3c09..bb0318ceaf93 100644 --- a/drivers/thunderbolt/Kconfig +++ b/drivers/thunderbolt/Kconfig @@ -1,7 +1,7 @@ menuconfig THUNDERBOLT tristate "Thunderbolt support for Apple devices" depends on PCI - select APPLE_PROPERTIES + select APPLE_PROPERTIES if EFI_STUB select CRC32 help Cactus Ridge Thunderbolt Controller driver -- 2.20.1