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: 10838545 X-Patchwork-Delegate: andy.shevchenko@gmail.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 90E4417E0 for ; Mon, 4 Mar 2019 20:20:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C8F82B301 for ; Mon, 4 Mar 2019 20:20:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DB6612B402; Mon, 4 Mar 2019 20:20:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7535A2B33F for ; Mon, 4 Mar 2019 20:20:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726095AbfCDUUR (ORCPT ); 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-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: platform-driver-x86-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Enrico Weigelt, metux It consult --- drivers/platform/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) 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