From patchwork Fri Jan 29 14:50:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 8164161 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 60D6DBEEE5 for ; Fri, 29 Jan 2016 14:55:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9954A20382 for ; Fri, 29 Jan 2016 14:55:41 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CAE9D202C8 for ; Fri, 29 Jan 2016 14:55:40 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aPAQe-0003q9-Rc; Fri, 29 Jan 2016 14:53:40 +0000 Received: from mout.kundenserver.de ([212.227.17.13]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aPAOi-00025D-73 for linux-arm-kernel@lists.infradead.org; Fri, 29 Jan 2016 14:51:42 +0000 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0LxO7W-1a0Qfb3DBq-016szN; Fri, 29 Jan 2016 15:51:13 +0100 From: Arnd Bergmann To: linux-samsung-soc@vger.kernel.org Subject: [PATCH 4/6] ARM: s3c24xx: don't select RFKILL if CONFIG_NET is disabled Date: Fri, 29 Jan 2016 15:50:36 +0100 Message-Id: <1454079040-3567945-5-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1454079040-3567945-1-git-send-email-arnd@arndb.de> References: <1454079040-3567945-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:ein1+TDf581q2DCeh/qC1NQR0joIras5bAv82+S2t9BW4u0F5DT hW3609rhNjTnWSRy3wSh1vztxhokBkkiI49PRq/TLYsmvxFPOFXDx3p5eYyz+Y70JnPb/s/ NFN5x9ee1yJQCJ/Nk8CmfiNf5CHHY3AntF+IDzkSgJwNaFpinupYeKUmYsfUOR4QQnHZTn8 6wmIAt6tExhsOhfiUrDig== X-UI-Out-Filterresults: notjunk:1; V01:K0:gTNQNNIk4Xo=:7jO1ebcewVqre5sP04oelZ 70IgDnKTKJ2Uye7Xxg6AhuCHK9xZx4oaAB4jEsPtvtuQo/pJqykmT1ldZftxCybvrhEh4rGnx v4d7BBDGuYx6KrB/0uGsSZaoLGCFDxj/wtk/MRhGVC3vjdOd40UhI4lwwQMb3HT3CqOHiBi1O PkGgKCdRAtnQ5+5y5n1AKpIyAKlAOo4ZwbrbrF2Ul/lQCVh0olJt1nSoX2zPiSZf30orRHPLb sMiep/skPl8vi8YQ95kpuXtvrXxsP4TTq8n0lW2ggCGkk9jG2aYUY/gfLG2sp8u3YCNLqsRIe kVunpGpY6gAC3o8PXSplON6cIxZBg+QqYPXPTnpTVu4kh1Oc/OwuKsSNust6DPKU205vntwCo Tal+DCbZpMiHv7OnyqId93zxY9p1E+tYjS6CIWyXm3cSlCnUAWfyw5tOZt8q+Y0VbVCPrviFc eodNyhiQgMiGXST3pheAxUnBMbv++2kbDZr7YNUsd8XIjuc4nhkc4szonJG9QylBLath02qoZ NJsec5l3LUac57wzBefUdmfPVCtFIlvFLN10Grc/Rs4+JoGsXzTjLHPcdkuF0F/BerBZLZpna C2TZPVW/Q2H6WlzRuhbjIHVhfalXR9eOrSuHqlwFPB7A+KB6ZPNx0z9dqdCnb9voAVNRTguX/ d7Sc0Zc4TZdFdlQYINQpnx81ro7X9KEW+oizeHAfttVhRhgY+71okfQyt5MIbkpovXYA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160129_065140_929813_B78F5432 X-CRM114-Status: GOOD ( 12.63 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Krzysztof Kozlowski , Kukjin Kim , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Bluetooth is only supported when network support is part of the kernel, so it is a bit pointless to build the hi1940-bt support without networking. If we try anyway, we get a Kconfig warning: warning: (TOSA_BT && H1940BT) selects RFKILL which has unmet direct dependencies (NET) This adds a dependency on CONFIG_NET to avoid that case. Signed-off-by: Arnd Bergmann --- arch/arm/mach-s3c24xx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index 5884bbb7952e..bf66c8334822 100644 --- a/arch/arm/mach-s3c24xx/Kconfig +++ b/arch/arm/mach-s3c24xx/Kconfig @@ -227,7 +227,7 @@ config ARCH_H1940 config H1940BT tristate "Control the state of H1940 bluetooth chip" - depends on ARCH_H1940 + depends on ARCH_H1940 && NET select RFKILL help This is a simple driver that is able to control