From patchwork Tue Jul 24 11:57:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10541957 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 C6163180E for ; Tue, 24 Jul 2018 11:57:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B46F328783 for ; Tue, 24 Jul 2018 11:57:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A904328791; Tue, 24 Jul 2018 11:57:50 +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 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 618B028783 for ; Tue, 24 Jul 2018 11:57:50 +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=7gkpzFj3YoPhtAJ3YAF3qt4KkQMoF2uf8G9BhFLhgeo=; b=D9+ uo9959V+J0s/zhySuFXMUH24OG12XwGVAdVbLHHcai+hvKjEQLqiPJhCLLs+yA8M7RIbWRQE5bovw PgJWxYmALMxjoHdJDXgkBmpWfW7v2RgcT6IUlNh8nIjkC/i+UkN7aZzCSi8x05oEhLGG90awmvvYl OJEnhtTzyy0a1UN1ch0ds4gCVsERAFkc26XxpOQHTeXTq3Z5d2dyh5Q83h48ajUCAJHIILR+hQZwX SvfN1k6wrzsd40jwhPsLcZidJCPrmVnYRRhIJZ47uylkM9JZIVZnNyWw1QH4XC1PAXAgRu1amrejs kG7quC6vJ6hYwgHa78TDEXIlgFFR+Ag==; 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 1fhvwp-0007RQ-09; Tue, 24 Jul 2018 11:57:47 +0000 Received: from mout.kundenserver.de ([212.227.126.187]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhvwj-0007Pf-TH; Tue, 24 Jul 2018 11:57:45 +0000 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.129]) with ESMTPA (Nemesis) id 0LpzzH-1gAvVU2V0h-00fiLG; Tue, 24 Jul 2018 13:57:23 +0200 From: Arnd Bergmann To: Sean Wang , Linus Walleij , Matthias Brugger Subject: [PATCH] pinctrl: mediatek: include chained_irq.h header Date: Tue, 24 Jul 2018 13:57:10 +0200 Message-Id: <20180724115722.1274065-1-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 X-Provags-ID: V03:K1:pu6z03XZYAUPwPYaCMvSunngiXwsf9+Yh0/GFGUJKD1z9joMbct /+zlggqTGROD5zoEHJ4FUqWpsNg7GtFoehaiPlWPmj0Dpel8+ew656R60sdS77+vOSt3z/j dyXWw1Zwr7cfu7eEReOOA+QbbDpbpu3C6fEBdUjCc4ieUFkPa6VzCzi0nKWaRLHEHEAzOPt BBwiCSfDfTyo9iUjBo0eQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:5CYKAEnta/Y=:+3cjpHxBhSvk+xZOskHK6n X2qK19CWH7FDdguTknbY9AMhh5a3p0agC18Xiv6PCtVIdS1RfH6axjPuID2Tm3Ki4suekIpPJ ZbW8L3kjpYM7QcbOgT/BmT3ls8WujBM5hz1gx7jcrDcrLioF5JQ4CLNHk5VKQX7Q0a2enYNQx +QlO/TjBilyglIiaUVaVTzNDDGG9Tnlx9T7MixlbJE9KHDHPtq5IhKliUyZdmZ9eAsN93UvGw 7psxex/reWnvDM6zqwWQOHS+uNKP32P54NVOz9TydZFIzJHk/HUlkbqSeT4YggowJvXt14d5Y cTY6Jc0TZFG4KkR3sNan35OeuCqs2eFUqOMLnWILCzs98AWZ8FAIS0G5+eMF4t/2FeC391TfU wJ+wXoE/cDnRd8Q0bVWwFZ4z4F9SI3OaBwbvgnbJ6K9hO9NgrVBT0rV260h3CUlLf7yXCV5dS F747B0p18RwBWNn+CG6By+kdauERy/v/rwFica7pukImyBUnHHoXhtoP9NdVWEiROEGlavZDH ctON1ZQDen9XT4lMmz1vi5lFWQxrtNzPCFJglMPM81iLPb+mOKbjCzEaqEZ9Ys425mIe6n+0m zJPGv1VtWj9TAkM23nQxHQTGIO908GlgVxRPy7/D97QxR+YJjk/A739UHAXA4lcRQjKvpOBkN Xp8GPauCwqY8tH5nWkxGv0aKPuAFTYdzPXMgag0ZKrdnsialCSJzAqX7JIN5H9oS3j4M= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_045742_238352_CE07D53A X-CRM114-Status: UNSURE ( 9.03 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-gpio@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Arnd Bergmann , linux-kernel@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Some randconfig builds fail in the mtk-eint driver: drivers/pinctrl/mediatek/mtk-eint.c: In function 'mtk_eint_irq_handler': drivers/pinctrl/mediatek/mtk-eint.c:324:2: error: implicit declaration of function 'chained_irq_enter'; did you mean 'rcu_irq_enter'? [-Werror=implicit-function-declaration] chained_irq_enter(chip, desc); ^~~~~~~~~~~~~~~~~ rcu_irq_enter drivers/pinctrl/mediatek/mtk-eint.c:367:2: error: implicit declaration of function 'chained_irq_exit'; did you mean 'rcu_irq_exit'? [-Werror=implicit-function-declaration] The functions are declared in linux/irqchip/chained_irq.h, and including that header makes it build in all configurations. Fixes: e46df235b4e6 ("pinctrl: mediatek: refactor EINT related code for all MediaTek pinctrl can fit") Signed-off-by: Arnd Bergmann --- drivers/pinctrl/mediatek/mtk-eint.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/mediatek/mtk-eint.c b/drivers/pinctrl/mediatek/mtk-eint.c index 30f3316747e2..a613e546717a 100644 --- a/drivers/pinctrl/mediatek/mtk-eint.c +++ b/drivers/pinctrl/mediatek/mtk-eint.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include