From patchwork Tue Nov 15 15:58:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101525 Delivered-To: patch@linaro.org Received: by 10.182.1.168 with SMTP id 8csp1783098obn; Tue, 15 Nov 2016 07:59:26 -0800 (PST) X-Received: by 10.98.156.17 with SMTP id f17mr4789913pfe.63.1479225566703; Tue, 15 Nov 2016 07:59:26 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y3si27065944pfa.215.2016.11.15.07.59.23; Tue, 15 Nov 2016 07:59:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753098AbcKOP7T (ORCPT + 26 others); Tue, 15 Nov 2016 10:59:19 -0500 Received: from mout.kundenserver.de ([217.72.192.74]:52693 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751199AbcKOP7S (ORCPT ); Tue, 15 Nov 2016 10:59:18 -0500 Received: from wuerfel.lan ([78.43.21.235]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.145]) with ESMTPA (Nemesis) id 0MQtv4-1cDsSe2MD0-00UNjk; Tue, 15 Nov 2016 16:59:10 +0100 From: Arnd Bergmann To: Andreas Noever Cc: Arnd Bergmann , Lukas Wunner , Matt Fleming , Ingo Molnar , linux-kernel@vger.kernel.org Subject: [PATCH] thunderbolt: fix compile-test dependencies Date: Tue, 15 Nov 2016 16:58:53 +0100 Message-Id: <20161115155908.650902-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:z6JN4mXor7f/6KmpfnEHzduffk2r2HCr0jB3nTk3ZeIXX3GdYQ2 LYYzRY5ZlD/PHELWuQ+8gVQv1fpGAScE6kghIe5fkaUwh6JGUfi8PLyJU/L76o9u3Bk/4/t UHdUJGs4ZkXXKxpmfUc5kEDFm3b5hfk2dmPi24k2KpZyB3mUeIy+3+nKoU7LsKLZG2laC9Y gMgwgqgSsRpbo8XxFSAYw== X-UI-Out-Filterresults: notjunk:1; V01:K0:sUezIP6H7UM=:hxnRei9XNIEdiv9NjsFPvU yivj9fIJIFuPTpuid5dFHgLQvVeHEF56FEfbtCD6dIAQoAm9It9WUHuf+jcTUsja5CzyPYcXj 3SVnxyYqsBf7jiuyQHELRla8u7NlKbTBwqSvLnY/Ib4NxQdT3ZVWM4uSiOyHHWqFUuswCqf5E MdxTZFsdC5ISYOi0mDZa5zNG9OTUY7v+OxOs7xmCDscD5o54fpWjxslUY9OvwVcVOxx1ANDK5 wf/vBcgJhrI52Na5xJCd716rdf50njBNjHhvK44L+9SYDjMpRnRSVnf+LfVYLt0IPPfyoNcDZ CeazBVXMP2YzilxHqJRCNCqSOYTj3iZbRKH7isKtj9u8TNBlHIN4PNa3ZOY3c8bl4kQetJDHU iHazH7fh4gTmmRHtrhniFLPgfA9bImNc3wSG1e9zybFagDVBCded6fXtQABrrcYJKGkiLrt4z qbEsW54D+0qGh5v/DCO1DFd9WAf3pw5X36bPNi3OgF+AP3ZE9pUvum3KkquLO1s1aptmsNbCh wIR+PwfvnO7kU10bpo9jWwSZUUNya6rXe3xlb3VZ3UxIUzksPESodb30Mg5uNUxBgAxWGfCJO 7dbI+dlH8dpwA1gi2fxAUOQy8x1UQ2LAcpbErgn5gThAWLp96lxONVOEzP76OAk+Q14Bl/htu bbqS3Zh+pnkfD8wcGMAwPD0ecthJ82lQ2w94q6nwx8lqZ+gFseW1i3Q/DWSEKEyQWVwo= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Building the Apple thunderbolt driver on non-x86 machines now produces a harmless warning: warning: (THUNDERBOLT) selects APPLE_PROPERTIES which has unmet direct dependencies (EFI && EFI_STUB && X86) As there is no compile-time dependency to the Apple properties support, we can make that 'select' statement conditional on the dependencies of that driver. Fixes: c9cc3aaa0281 ("thunderbolt: Use Device ROM retrieved from EFI") Signed-off-by: Arnd Bergmann --- drivers/thunderbolt/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.9.0 diff --git a/drivers/thunderbolt/Kconfig b/drivers/thunderbolt/Kconfig index 0056df7f3c09..4e7d92193b65 100644 --- a/drivers/thunderbolt/Kconfig +++ b/drivers/thunderbolt/Kconfig @@ -1,7 +1,8 @@ menuconfig THUNDERBOLT tristate "Thunderbolt support for Apple devices" + depends on (EFI_STUB && X86) || COMPILE_TEST depends on PCI - select APPLE_PROPERTIES + select APPLE_PROPERTIES if (X86 && EFI_STUB) select CRC32 help Cactus Ridge Thunderbolt Controller driver