From: Lukas Wunner Date: Fri, 18 Nov 2016 08:22:59 +0000 (+0100) Subject: thunderbolt: Compile on x86 only X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b2c74191f4672c4b3265d0335910792b4f72026b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git thunderbolt: Compile on x86 only So far Thunderbolt is (unfortunately) an Intel proprietary technology that is only available on x86, so compiling on other arches is pointless except for testing purposes. Amend Kconfig accordingly. Suggested-by: Arnd Bergmann Signed-off-by: Lukas Wunner Acked-by: Arnd Bergmann Cc: Andreas Noever Cc: Ard Biesheuvel Cc: Linus Torvalds Cc: Matt Fleming Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: linux-efi@vger.kernel.org Link: http://lkml.kernel.org/r/7dfda728d3ee8a33c80c49b224da7359c6015eea.1479456179.git.lukas@wunner.de Signed-off-by: Ingo Molnar --- diff --git a/drivers/thunderbolt/Kconfig b/drivers/thunderbolt/Kconfig index de5d27ec67d6..d35db16aa43f 100644 --- a/drivers/thunderbolt/Kconfig +++ b/drivers/thunderbolt/Kconfig @@ -1,6 +1,7 @@ menuconfig THUNDERBOLT tristate "Thunderbolt support for Apple devices" depends on PCI + depends on X86 || COMPILE_TEST select APPLE_PROPERTIES if EFI_STUB && X86 select CRC32 help