Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1790149ybi; Wed, 3 Jul 2019 23:28:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqzty0wpPUXTsTy8gS7g1mm1NlxfK6eGReRIpKyNR7MDpW3zXXUJbO2nRdbxc8mp+mK/nZsZ X-Received: by 2002:a63:e156:: with SMTP id h22mr41219714pgk.370.1562221709770; Wed, 03 Jul 2019 23:28:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562221709; cv=none; d=google.com; s=arc-20160816; b=04UyXtZbtmAbMmE/h2nMSRCqBo0Wm0haqDH13umpfgiSLwHgdHSxGIVKa7Uj4LCezy XK7/oMSa3sI8nw1K4F5YFDsP8NVZdiso3XY7TDl8v1ylDNwb0VRj4vb478N7n0EEsTIh 9PfY51+vOBrU/TLNHBVF2aUY7sICcq6TwGM+fX13wtoUPjX+nnAoB0LnOk6YJzTJA8eI 1zxjCTdbRRIFt/smGbuyABtp8dKD8NpOI9NZcj+oHnaTcERZs42O5ppmtsSusbvqNnE8 xFetdP+OiiFYy0zMMDZPYUfWBsCsaR4izU1ZbFVyYXqKDfIO8SgW5E4nYedHA+Ac8/S1 8SHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=eP2tppLDBDEkOjr8PQuIUpWopPDuMmc4i/sffIJot6M=; b=LGr1XIGpFYCgmQFstdKknWx9Sdn2Yz1OPNWTRBaXIXV3ph2XWH2Xi+/hZ30JMTTWKf u5McGqqc+Ieru+KYlXRDM2MEg2WTnJc979+wz0Pqc0q1O73PIDpWQMlxT/CgP8Dwj+Zc kBNLM8uGqLaPuSM6YguxQUaIZWqz8sabLxyMJ7jNnwe+4BaalHuV8khdX+/q7Yyio/IW E9nC/rItYQ//GDGA+4zZgWMlqakpOn0IfRXVZ8HriutE3LxJFPfliPfJiy66BHa1WaO1 2eRJc22Jl8nygPTwI5jt3eNT3BovZJ2mD29qzivCgzPDEXqd7QDdNq3H2ULFpvbufpwS Pb1Q== 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 u12si4805556pfm.6.2019.07.03.23.28.14; Wed, 03 Jul 2019 23:28:29 -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 S1727211AbfGDG1v (ORCPT + 99 others); Thu, 4 Jul 2019 02:27:51 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:37182 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725879AbfGDG1u (ORCPT ); Thu, 4 Jul 2019 02:27:50 -0400 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id E32053DD455490766B38; Thu, 4 Jul 2019 14:27:47 +0800 (CST) Received: from localhost (10.133.213.239) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.439.0; Thu, 4 Jul 2019 14:27:38 +0800 From: YueHaibing To: , , , , CC: , , , YueHaibing Subject: [PATCH] platform/x86: Fix PCENGINES_APU2 Kconfig warning Date: Thu, 4 Jul 2019 14:27:25 +0800 Message-ID: <20190704062725.50400-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.133.213.239] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix Kconfig warning for PCENGINES_APU2 symbol: WARNING: unmet direct dependencies detected for GPIO_AMD_FCH Depends on [n]: GPIOLIB [=n] && HAS_IOMEM [=y] Selected by [y]: - PCENGINES_APU2 [=y] && X86 [=y] && X86_PLATFORM_DEVICES [=y] && INPUT [=y] && INPUT_KEYBOARD [=y] && LEDS_CLASS [=y] WARNING: unmet direct dependencies detected for KEYBOARD_GPIO_POLLED Depends on [n]: !UML && INPUT [=y] && INPUT_KEYBOARD [=y] && GPIOLIB [=n] Selected by [y]: - PCENGINES_APU2 [=y] && X86 [=y] && X86_PLATFORM_DEVICES [=y] && INPUT [=y] && INPUT_KEYBOARD [=y] && LEDS_CLASS [=y] Add GPIOLIB dependency to fix it. Reported-by: Hulk Robot Fixes: f8eb0235f659 ("x86: pcengines apuv2 gpio/leds/keys platform driver") Signed-off-by: YueHaibing --- drivers/platform/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 8c8bd45..2409d26 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -1322,7 +1322,7 @@ config HUAWEI_WMI config PCENGINES_APU2 tristate "PC Engines APUv2/3 front button and LEDs driver" - depends on INPUT && INPUT_KEYBOARD + depends on INPUT && INPUT_KEYBOARD && GPIOLIB depends on LEDS_CLASS select GPIO_AMD_FCH select KEYBOARD_GPIO_POLLED -- 2.7.4