thunderbolt, efi: Fix Kconfig dependencies
authorLukas Wunner <lukas@wunner.de>
Mon, 14 Nov 2016 15:10:33 +0000 (16:10 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 15 Nov 2016 07:33:22 +0000 (08:33 +0100)
commit79f9cd35b05e3e91ccf9b4038a8b74b9362b5da7
tree8a05efc8497635fb33dc67496bffda35ea0194b0
parentc9cc3aaa0281fec487794a473c82544bb7ac1b68
thunderbolt, efi: Fix Kconfig dependencies

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 <lukas@wunner.de>
Cc: Andreas Noever <andreas.noever@gmail.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Pedro Vilaça <reverser@put.as>
Cc: Peter Jones <pjones@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Pierre Moreau <pierre.morrow@free.fr> [MacBookPro11,3]
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/20161114151033.GA10141@wunner.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/thunderbolt/Kconfig