From patchwork Mon Mar 4 20:19:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 159599 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp4172477jad; Mon, 4 Mar 2019 12:20:19 -0800 (PST) X-Google-Smtp-Source: APXvYqxJuoQSb4kRBEvVtjq/S3q5DVq2WiJhCJdlVPelBw2FgM/ssfP6Ix7Fja3Tw5pvgTcEx3BB X-Received: by 2002:a17:902:5992:: with SMTP id p18mr22052170pli.231.1551730819285; Mon, 04 Mar 2019 12:20:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551730819; cv=none; d=google.com; s=arc-20160816; b=aVz9z8kuTtrDVsoaZHj9t/vb64iQF0DaEfegT7Pb6ldcPWSFl4/nULvMd/XmktZPst 1yxuZGAFcpTMh7dyEgnrfGp55IBn2hlCzAxHOhM9r86FbRQx/qOfnrPH1C0ocQWqAqr9 Zct653WM7LI5qgXUGDitJrf6U2Jc7VA965Bt4DZkQEcqysbCbyRzfbvtEdxgsQFksA4L vruv1NAWA6VCn8LNlZWpy3w3bho4HOa9m8+b5XXhTlcC23ZneKSJUX1r2KDc9syK4Eoz w0NpceZ6wN9d4Qfl0cmD/aYmR1VncG21HGpio+S2xrZX9CBOk/5kUgpQ692DimMYzMhZ +B1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Vhmxx5ZRTfase3U4qLIp7oxq5lyYJ8jZTBSpKpUAB/c=; b=K4kaD4MrLDWF+rXyw0vUjjazS0BXOtG2O+46tjbmmyL1vvNg4s4fWpZNc9d93mvLS+ hwz69cPlXkT9JedoANOYuSf1U9EpwHUxvhV0vJETmmUyHKUFyGWyYGQVovu5+0Lg4RSx b9JsEOfKvlkz5bk9uZWunMdKlvLtCV7Un/iOYpl0ZiocMOGTwyaG+RJycvjXwIW6eM4L 3NG8PxITWZ4tNYsTxwinZ9ggHv0MWjRr9mLF8EFix5zHYrAd0XHk8jdV5ech+5S4BxUG vlcKN3xBt66qerNukMysNXapN/4y/MMcn5UfdzTQj1sF3M/qesTe+PxwtpUeniT9DGZb 16Fg== 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 q11si5798971pgv.337.2019.03.04.12.20.18; Mon, 04 Mar 2019 12:20:19 -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 S1726424AbfCDUUR (ORCPT + 31 others); Mon, 4 Mar 2019 15:20:17 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:38953 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726087AbfCDUUQ (ORCPT ); Mon, 4 Mar 2019 15:20:16 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.145]) with ESMTPA (Nemesis) id 1MA7Om-1gqTvu3VRy-00Bc9J; Mon, 04 Mar 2019 21:20:01 +0100 From: Arnd Bergmann To: Darren Hart , Andy Shevchenko Cc: Linus Walleij , Enrico Weigelt , Andy Shevchenko , linux-gpio@vger.kernel.org, Arnd Bergmann , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] x86: apuv2: select LEDS_CLASS Date: Mon, 4 Mar 2019 21:19:21 +0100 Message-Id: <20190304201930.1622839-3-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190304201930.1622839-1-arnd@arndb.de> References: <20190304201930.1622839-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:XxZake0ndRPH2Ze0SqTH+/cZJhpugBiJnivixjyNibLQYQRltrn uzh413UijeTtvWABuqQBX3hSKVtrl3R1r1CT9T7bq9inQf+GFBXqE2Fi3wGK8rMl7fNXjWu adIZqQRZ11L0Llnxp4jFe7Cg25j9TNakZRPrXY9vWvkU/DqcPx8yTX2Okt5jW5/Cy2UzNHe A6FhDrLcgv+TBynHQyduw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:C7yVC/s2SHQ=:Uhek1oloFFbUBzhFbH3Pr0 A0lTJoIgpx5/JL0tU8BZu8YbG7B28e+xuvTXEy8vrFw03X6dfACKpIaQfFfB5XnMuJGBRONPn qwoQDCntYZRn9K8jtdloyTEHuBmErt2pBAcGebq9pNyB18+m1fntfI4NtPgXGyEO8dJYDho6J I8nap/loWLG1FSjA99lohztkFCAh+RHbojNtJjmXFs1xYtlbit9HXI3v30CaLy6i0Qw/fxL0K UUdRz4M04Tl/WgApnViJow/hX4D4EY3ICSihuIl3W+86njaZ578b6yBdDK/ZZhyC9O6rjo+Lt 3C9fnqZjUWx8rkj11XiFjyRQ7kVE3OAgleQVBIHGWFPM8j5S7jtb2q+cHG9g/YC4Ixv9ipZa8 QlXBDHowPd1N+D8qzYDvGa/mSTYn0UHEgKijKVVi6nGgsIbovqqck1vrtPh05mvJhXc8ulxvX xbHIt5rAOzi1+j9NGIGvg/z8e38rhSi/Kx+BLholSXO0Ysctg0hE+t5l/ysA+RoW9UxFR8Dde EBzf7jdwJssDG2XBrimzzGaf+BLkmyfZugbVgGdDcPI9WYowYLlLXXXzYc4ti2zWHHaB+yl26 P4bZ/hh2+1EA69BzR4AJQEsD+0tH4mpwu6UiCT7RvFErmbRGJ07ChE9fPVibxU0WVntnTdOwo 7ZkVff0RoCHNSbs4bCW+SyplpA9l9q9uhmPPgRQlkX+02kywOIuNoEdQjEwNIetq6HX4McVIv z8qZJe35iWbTCKeXAslOgyZZbickszWYLLNSSA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org LEDS_GPIO can only be selected when LEDS_CLASS is already enabled: WARNING: unmet direct dependencies detected for LEDS_GPIO Depends on [m]: NEW_LEDS [=y] && LEDS_CLASS [=m] && (GPIOLIB [=y] || COMPILE_TEST [=y]) Selected by [y]: - PCENGINES_APU2 [=y] && X86 [=y] && X86_PLATFORM_DEVICES [=y] && INPUT_KEYBOARD [=y] Fixes: f8eb0235f659 ("x86: pcengines apuv2 gpio/leds/keys platform driver") Signed-off-by: Arnd Bergmann --- drivers/platform/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.20.0 diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 4d65d37b0c86..d64529352a9c 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -1308,6 +1308,7 @@ config PCENGINES_APU2 depends on INPUT && INPUT_KEYBOARD select GPIO_AMD_FCH select KEYBOARD_GPIO_POLLED + select LEDS_CLASS select LEDS_GPIO help This driver provides support for the front button and LEDs on