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: 101023 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp1163697lbb; Fri, 29 Jan 2016 06:51:58 -0800 (PST) X-Received: by 10.98.73.29 with SMTP id w29mr13799961pfa.106.1454079116133; Fri, 29 Jan 2016 06:51:56 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o4si24712573pfo.19.2016.01.29.06.51.55; Fri, 29 Jan 2016 06:51:56 -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 S1756467AbcA2Ovx (ORCPT + 30 others); Fri, 29 Jan 2016 09:51:53 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:54229 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932081AbcA2Ovq (ORCPT ); Fri, 29 Jan 2016 09:51:46 -0500 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 Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Kukjin Kim , Krzysztof Kozlowski , linux-kernel@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= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.7.0 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