From patchwork Thu Jul 20 15:53:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 108401 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2309509qge; Thu, 20 Jul 2017 08:55:05 -0700 (PDT) X-Received: by 10.98.202.12 with SMTP id n12mr4441057pfg.187.1500566105435; Thu, 20 Jul 2017 08:55:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500566105; cv=none; d=google.com; s=arc-20160816; b=DvxjO2C/2fMrw8J6Ws/ScVkkqCc33+PTaf9tP/SEwVrXbE2rHgj6XIXHrgyAc+TA+z 025EVgHR1Oc0eiiX/iM9iNq5kY97NMaq8GGUIC5/z4mxK1jKRjtP0ezvvGMnGjmtq/fz /JXx5BdVEjcNEJ8WDe1bLyo4uiRWKwjL8m7BSAJjP14pOI9bGyLEYRIKPoLNuQDeMdS1 86vE8Cii8CJHVNCFCCFhg8l2/n6SQGmACRlMEvBdv9sjuArzh6CaWkcEs6QZ6GBcEvFL c1JPjVKh1jQ9e3MFDc8QoAXjNNOB6cbqnLS6YigFa56xyWFmHuwmEBOh5JwgZhmyTWLW fa9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=lq6JMNm9ySy6teM7wv7roQ2Mt7GrNeCTe9eT/kNGa6c=; b=bBzL8/GtUl2N5nceZUycbS7OkQXwb8YR+ePKUU3x0b/KEoMh+u6dD0U+mwk9pM4RB+ WXPQOREvG9mPYKNvA4AFMGAd8soj/cisB127bC4K77AIcDzmKje13Yhj43D2nNxIojBu 4yML8u3nYhQkdBZ4EFgdQPFSQwr7oafDttoM/BetbvkjkwiXcRXH5rYe6B0U1Aqe1D68 RglsWGJrDkJs8AdhB59+cGyphn0BL3vw936igSmfHsBEoYQQgRfqCkRvuVi0P+8Bqmi/ YyJb/dp4DGnBWIb2s7Ljmuy62YY0VexstPFFzXTCNA3MpGT0lmaWLlGqUkaHK6TAbXMd 1UfA== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m8si1825615pgc.582.2017.07.20.08.55.05; Thu, 20 Jul 2017 08:55:05 -0700 (PDT) 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 S965818AbdGTPzD (ORCPT + 25 others); Thu, 20 Jul 2017 11:55:03 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:54079 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934802AbdGTPzA (ORCPT ); Thu, 20 Jul 2017 11:55:00 -0400 Received: from wuerfel.lan ([5.56.224.194]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.145]) with ESMTPA (Nemesis) id 0MCZak-1dQ0Ib2zDO-009SoP; Thu, 20 Jul 2017 17:54:11 +0200 From: Arnd Bergmann To: Kukjin Kim , Krzysztof Kozlowski Cc: Arnd Bergmann , Linus Walleij , Daniel Lezcano , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 10/12] [v2] ARM: s3c24xx: make H1940BT depend on RFKILL Date: Thu, 20 Jul 2017 17:53:43 +0200 Message-Id: <20170720155410.3251043-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20170720154616.3250481-1-arnd@arndb.de> References: <20170720154616.3250481-1-arnd@arndb.de> X-Provags-ID: V03:K0:hY9Ej/JbmtiOc2WKxMvwNHGGl6OzFW4D3DSFn+d+n15x6SQ0caH ftccMC1xv0NO40WeDvNSsMozx6LbR1ZimYYo1ackITWjB1su5JtygdCIyhV/SpWhjS119Gv QGhGbXsqwMOrETE8+sfMSJXJFR5BVxh3BmWPjDdE/CdC1/RA5t85iLItQ7uFk4lhN8ecy3I eFWnI+Bx90TtFUwTfbTKg== X-UI-Out-Filterresults: notjunk:1; V01:K0:ebMaqIdNOyY=:Hx1+yYmTmhmFiQJWWRrjoO VpyrPcyo/K1wU8b5JF5GzRUW6jC8gM2SQOoocibw3k2J1zAdZBc76stgUqu1y5nQMEgOk6PBp 6QL9pevRK/BMhyUiFdGDC9ZHikvV9Gv2k9nHxeHdQLrtPttZskgK/lMIihVqiO0mWHyOv1eBF Qzs/rW3EbsYY6yxL80IGt1U8UTbhuSOVQ8ZizWZb6HI0lYjDXBb/MJfRytl1AFS2ZnjDDBzC9 0hV+j5+IxTZqnP+fIW6vdPKJSA4mvPhJ8McJuNfe5YPOFzUJQKGGkTtO11uOgWATSzp8M0Z0Q uzOSX5EKPExTMBRph+v95zWRUgy05fZY3MvR0HymFPug89S+jMCPRt3uIMsdf1k7MRdVGbCDP 9YPLXKX/z2F+Rf5CnpfwhTiJYKvkZqU4QzuxZynlKQVT8lCPyo+qOV44r5ncewQUhBABokpnf bAQ8OL4qhlYHHTHL4Ei+bqTt7q7wF8SgQqeqJPxtcZEfMIkAA/wnB1TJx/cleKQMVmagiVWc/ 8eROHRUythhPZdMelV7uFQXA/Ek6eJqt12Sh/HpLBSn+ygpyoii38gpcbKhRzqTyDpOqfrfDj sYnCbi9YMKVwxGcNJ+n8KFxIMJgryw8emgBCvwDT826PTqCsPaDnFUIqrk3DzaAjE+4OjvzZL aufHCZPCjG7KwlH8NvrNIiYlF3k31nElWLhpY2sipoXRk3AvFgeMe6THJqIx63OJRDZwe4yZ1 /iqZ/HE2WdRK1mptA8Ozo4oYfqT865YzHTN5yQ== 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 turns the 'select' into 'depends on' as Krzysztof suggested when I first sent a fix. Suggested-by: Krzysztof Kozlowski Link: https://patchwork.kernel.org/patch/8164161/ Signed-off-by: Arnd Bergmann --- v1 was sent in Jan 2016, and instead added a dependency on CONFIG_NET --- arch/arm/mach-s3c24xx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0 diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index 648c519c7593..7da0165334ae 100644 --- a/arch/arm/mach-s3c24xx/Kconfig +++ b/arch/arm/mach-s3c24xx/Kconfig @@ -237,7 +237,7 @@ config ARCH_H1940 config H1940BT tristate "Control the state of H1940 bluetooth chip" depends on ARCH_H1940 - select RFKILL + depends on RFKILL help This is a simple driver that is able to control the state of built in bluetooth chip on h1940.