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: 10630987 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 C6EDB15E8 for ; Mon, 8 Oct 2018 15:59:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B5412292DC for ; Mon, 8 Oct 2018 15:59:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A935B292E1; Mon, 8 Oct 2018 15:59:41 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4F108292DC for ; Mon, 8 Oct 2018 15:59:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=2rLANPeLZT6+O62FtGSVsqGNWnpt3RLnj9gA6++e5KU=; b=h8F 7/b6Jc61orhr4ygBKNcdXS5sVw7VtSQr6HpLlaMiuzkS9vAFzzA2CXUQ9M9DeucRFh4GkKzTzR3hs nAlHsEAtKlci9ve736nBnFxSjoGfUbHVG/X4cihZgi4hyLou9ykfesRLVXWEDZqHl7rcB34knsBBE hpXMmPLQeRG1TH1Uy2gOxhZuCH0lfpe2Nnd1OOVSr0tK6DZLRFMhZ4WfUIOxX9CKBZQu02VnzDcsv u4AEDSjB8gm4c2xqnqAoPMB7zq80WllQOMWYWWygQW4ybTtMJ3VCbFgeT3c1iizq6MmAmA5oIr2IC QxORLNTul5b2ns3IyMJ0y9/R2hJ8MSA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9XwW-0002Oa-9V; Mon, 08 Oct 2018 15:59:36 +0000 Received: from mout.kundenserver.de ([212.227.126.134]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9Xw2-000293-G1; Mon, 08 Oct 2018 15:59:08 +0000 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 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-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= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181008_085906_851643_CC167D34 X-CRM114-Status: UNSURE ( 8.58 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ZH Chen , Ryder Lee , Arnd Bergmann , Biao Huang , Zhiyong Tao , Sean Wang , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-mediatek@lists.infradead.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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