From patchwork Mon Oct 10 12:42:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101708 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp1178723qge; Mon, 10 Oct 2016 05:43:08 -0700 (PDT) X-Received: by 10.66.141.39 with SMTP id rl7mr54651770pab.121.1476103388320; Mon, 10 Oct 2016 05:43:08 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pa3si29268593pac.20.2016.10.10.05.43.08; Mon, 10 Oct 2016 05:43:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-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-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751917AbcJJMnH (ORCPT + 4 others); Mon, 10 Oct 2016 08:43:07 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:54396 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751635AbcJJMnG (ORCPT ); Mon, 10 Oct 2016 08:43:06 -0400 Received: from wuerfel.lan. ([78.43.20.153]) by mrelayeu.kundenserver.de (mreue004) with ESMTPA (Nemesis) id 0MBo5j-1bl5TW1BX5-00Aizw; Mon, 10 Oct 2016 14:43:01 +0200 From: Arnd Bergmann To: Linus Walleij , Alexandre Courbot Cc: Kamlakant Patel , Bamvor Jian Zhang , Arnd Bergmann , William Breathitt Gray , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] gpio: mockup: add sysfs dependency Date: Mon, 10 Oct 2016 14:42:46 +0200 Message-Id: <20161010124259.1556137-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:Fh63MDuo7eKN2on3XM5xHvcEr9lDGiHmv0GlgkUIaVbLNTIxG+y 4tA01seHkzmTQ5F26rdUIP1cdTH13jWoFYDg3BXX/Kf08UeUrlgvfMhUZ17I/XwX2uFMBw8 7pKi193oP1LARwYMY2opjdsmHLsybBmwIwwMHx1HypgrahG44gP8oLpI92uYZpPKbL/EGyn BNukZfXETbrpYAg2/N/kw== X-UI-Out-Filterresults: notjunk:1; V01:K0:WMRP2XOmAwA=:74q1p/Q7VZKsGw8gMWTkNJ xdg+bvric7LblcyAC6gnW/aG4OKCwak4woLEVW8pZysKVl/9VmikOykkCuNwKKCoL4thSNkMJ MrpfKBy9ZvQAUaAdoYOCC25PnFtuVtfHOjLzCXA+jd5YCbSC5B+tcqjWgjiYRUlKmuIYcTmcO 9Z4dD74WKKM73S1op1HTkCgp+YEYzL5Gipt731ZxUFRMLewjoocEuIuHeRsVy/yGEfMESmoqk NelTyO9YMCboXg6Yjnw+E8l1mgoL/P2iLS4sp1ZHLVx97zjguXtZqT+Esj0dBmM6+ez79T1C6 fs5EVHhr+DsMaGZEkuq/L0H2UKYSNwik3XY+P+KaYZRmoVELZmZXuLVH1dijuIoXZOl0cc7aM F4q5K9mrAZr/49XZZIBxowD3yZAGK+JI7yDFLsaDqWUEhY25LKZOeAcuZNF9IQho7VBoNel28 7J0s/k0lM/3SVjh6Az65N+RxpanQkaMM8kJ4/P/UrZQJxp7vgGhi3xbXtkybPCc4NYKNQ9aoW luauuSQsVHG8hbo7cmqzbcw36ceYx8KVFR6qaIir0SuHLWa9d71v495/zdV3yMOmVq6LrzBZE jdcEIFkVqPTIgFWKyL2UGt59xa5KxOFpWOEzXKcCy1R09dh9jkw9r6U/sxwg0X3kIzlE4cRaS e3vQs2RcEV/sEFx29hvQlFDR0ZjDb4JJqZPl80jXrQsjzyqZWT7r7N8EBwDI8P17JNFQ= Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Building the gpio-mockup driver without SYSFS results in a harmless Kconfig warning: warning: (GPIO_MOCKUP) selects GPIO_SYSFS which has unmet direct dependencies (GPIOLIB && SYSFS) We can easily avoid that warning by adding a dependency on SYSFS. Fixes: 0f98dd1b27d2 ("gpio/mockup: add virtual gpio device") Signed-off-by: Arnd Bergmann --- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 26ee00f6bd58..d011cb89d25e 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -284,7 +284,7 @@ config GPIO_MM_LANTIQ config GPIO_MOCKUP tristate "GPIO Testing Driver" - depends on GPIOLIB + depends on GPIOLIB && SYSFS select GPIO_SYSFS help This enables GPIO Testing driver, which provides a way to test GPIO