From patchwork Mon Oct 8 15:57:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 148416 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp3819579lji; Mon, 8 Oct 2018 08:59:10 -0700 (PDT) X-Google-Smtp-Source: ACcGV63Etmh26kMIxCtKlf1qkZvmaHrgew8Lyxjsn6lyZ2oiZzl180QKB67A49r4M4/P9hCgq+j1 X-Received: by 2002:a63:5d55:: with SMTP id o21-v6mr21416722pgm.349.1539014350549; Mon, 08 Oct 2018 08:59:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539014350; cv=none; d=google.com; s=arc-20160816; b=dlWsnQmqtWdhNjY5Bv/MiVIu8Ym1oCM9tGD8Ku9gOo//aOMotyd7hTQhaR2e4+34NX PDp5l41AMYK48VfHbzhTNQ557Lkvxt5gE7XeAebEfAhYLdYO64zUt2bn/9eb7ex4mI0B nW0ty7OBiBKnpluInxyrNpotHdstUTI+XBY6vz0JDVIeYPVTiyqBPiV3C0HYD87ICRK9 AKgtI/bzQ72Tk1nYM1qIlnXGuhWyf8qph8HREdvBmLZ4TMqpIfVwP1/IheiAWmQ1v9j3 DCrsL4GIltAFLsrGv/EiqKaiHXsW/he1xzd8P/5OY9G5KeflF+WLAUXEhnaaLgNMrdim mTSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=LAXuOMcFy4AsX2FDfLOW5gXsXZf22CXq/ZS7GeNQQrw=; b=AXUIxYiw4jBvxSvzMHaocSJ3VMTp//ThOvFzHkCxLSkbx2m0ViFsz3GRGV5FOf+K5I lBRN1vmxlICI5NU+PboTxLtA6KUr6rCFBuCh3W9yt4UUXW7MRyV0mb5VdBrWg95Ho1rJ rF+yiL30EiVYdiGp1B16IY5Cm6ZjUDzOawKIDjQCvKbLTMV8AMdjxZ9xc/LoBQuvlZKT pblL2OipzL5f2BrZxH51Qr3peHHjYobcWn0diKPiE1nbu6ayw2Yv/lA9bBUZMPlLv+oR UjmXOgSvtbh6zV6E/rlTe8ulJsbTE+bH31z1OUK8aIq0FOkHhWFTirUIrHbtBDefHwvq +c4g== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i7-v6si6855411pgr.147.2018.10.08.08.59.10; Mon, 08 Oct 2018 08:59:10 -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 S1726348AbeJHXLd (ORCPT + 5 others); Mon, 8 Oct 2018 19:11:33 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:52087 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726291AbeJHXLd (ORCPT ); Mon, 8 Oct 2018 19:11:33 -0400 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1MiMIY-1fWc0G0Pby-00fVlq; Mon, 08 Oct 2018 17:58:06 +0200 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1MiMIY-1fWc0G0Pby-00fVlq; Mon, 08 Oct 2018 17:58:06 +0200 From: Arnd Bergmann To: Linus Walleij Cc: Arnd Bergmann , Matthias Brugger , Sean Wang , Zhiyong Tao , Biao Huang , Ryder Lee , ZH Chen , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH] pinctrl: mediatek: select GPIOLIB Date: Mon, 8 Oct 2018 17:57:43 +0200 Message-Id: <20181008155803.3322412-1-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 X-Provags-ID: V03:K1:jKClmhriWAs+MlCh/VHoLgZ7FuufsHBdIdLZvnRc92T0PrIv2Mt pqnzDF1iDFmAT97BPTYruszKs2Dh1ryF4X/qvJdgURwDc+dWGibS7BFKm2dBCze2pmO6ZdL cOFgcSzqQ6tNEmqPNpKK17xgJaxUywUfukXVCUnEnaetOPP0dxOHRdlLDQCP4MSeV8af/mQ /1kxbiD1eEIaloqTeVYIw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V01:K0:se+1c5VYw8A=:mcRj2uevfsRj4JgRbeZt2O KlN6ebqNDMG12DmPGrc6I9HAOInKJY3WK/YXmrGCeL0oZBXSh8Tb2EPIw05HZIYKqdy7Cemfx mhaVebokG8CCV1uSaVfJDVPJm/BNYvN2kytlosFgBdutJgcD+dj7Bv7eHNegJGCZEWAW3W6+s 03DCUDJ0oZcurkOpJHD9N7A4o5i7+j8QTq0HRIxwG9/GnN9l/8ut3pVX9pIcUQwLXjeoBz/L8 5YH9fJn+bf2kP+rnlHlJrowjGM6b4ATF3dgsPYLs0RQmlC6XIzGkhw3L1Xb7YpnaXzoe60MI3 Ekj8Nf56eokmSP2r/LR/N8El1iYT0av2ha5dPyVSKg7G2rbtgxUZNmKLvIBSQfJW7zcxusSaa VLtw+CiWtzxxiOgcfI6/6JelYswAVYg5xgp0+QLxQYYp78s6G5RcjLvSK7sqxEh/FkbjPugVw L+9vBkMScUDa84gzpdNOyLMSXpf4qt2AT7mfsBgHtGZEalMP4b0NMgh9ijxWeP49ua1WAiTh9 sfsly1quxhB3NtLmbuJuxdYaH1Bns6P/PUG9Xyt3aLyOPWna7wUxOcbziGxWlNxFjy9n4Bxny uBjK0QEfEIaiz5lh1K8EhWCSUzR9a2oKiYbbX/6bpPb/QYAlearfYS7Y+E/dPHazt4axV51fo iYxO5bpXvOpB+ujDWCs/AG4Yoo3LehX90qMaZUMSicQzJrmrzID7W1PHSgENm2KfMxtU= Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Removing the linux/gpio.h include means we no longer have a declaration of gpiochip_lock_as_irq() when CONFIG_GPIOLIB is disabled: drivers/pinctrl/mediatek/mtk-eint.c: In function 'mtk_eint_irq_request_resources': drivers/pinctrl/mediatek/mtk-eint.c:247:8: error: implicit declaration of function 'gpiochip_lock_as_irq'; did you mean 'spin_lock_irq'? [-Werror=implicit-function-declaration] drivers/pinctrl/mediatek/mtk-eint.c: In function 'mtk_eint_irq_release_resources': drivers/pinctrl/mediatek/mtk-eint.c:272:2: error: implicit declaration of function 'gpiochip_unlock_as_irq'; did you mean 'spin_unlock_irq'? [-Werror=implicit-function-declaration] Select it explictly instead. Fixes: 1c5fb66afa2a ("pinctrl: Include nothing else") Signed-off-by: Arnd Bergmann --- drivers/pinctrl/mediatek/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.18.0 diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig index 05be5ddafec4..9d142e1da567 100644 --- a/drivers/pinctrl/mediatek/Kconfig +++ b/drivers/pinctrl/mediatek/Kconfig @@ -4,6 +4,7 @@ menu "MediaTek pinctrl drivers" config EINT_MTK bool "MediaTek External Interrupt Support" depends on PINCTRL_MTK || PINCTRL_MTK_MOORE || COMPILE_TEST + select GPIOLIB select IRQ_DOMAIN config PINCTRL_MTK