thunderbolt: Compile on x86 only
authorLukas Wunner <lukas@wunner.de>
Fri, 18 Nov 2016 08:22:59 +0000 (09:22 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 18 Nov 2016 08:42:59 +0000 (09:42 +0100)
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 <arnd@arndb.de>
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Acked-by: Arnd Bergmann <arnd@arndb.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: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/7dfda728d3ee8a33c80c49b224da7359c6015eea.1479456179.git.lukas@wunner.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/thunderbolt/Kconfig

index de5d27ec67d6fe85a7057c21e1430ccf30782ca4..d35db16aa43f5ef2e3979d46c9c91b20c5774b3d 100644 (file)
@@ -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