From patchwork Tue Jul 10 15:18:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10517157 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A71D6600CA for ; Tue, 10 Jul 2018 15:19:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 943622921D for ; Tue, 10 Jul 2018 15:19:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8844329235; Tue, 10 Jul 2018 15:19:44 +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 4A61B2921D for ; Tue, 10 Jul 2018 15:19:44 +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=2nz4ITiyR5OMIbzA2FRKNSzLU3Vvcwl9e7eVm/PMWZs=; b=H5W fjTFweRbrlJcBQEP9w5w5eH+/iPDiCXCgZq58f5+SD1zY7sTfz/tKn2JjP4ayHZ3GHR0rrfQUvZlM TKxVMDCsNvyAl37w6eH4vAxg8CpiTUkFxFVpwBuk0Fig0thS911OTY5x/TwRf/zrRzXJbXEUtYkxJ CteC/+S8pWfDHqPipPFin1+1J8wPeSJBD+gIkCTYJIUZEsE5CegDAj7Oy322uYKEV9ZmqIA+oZDG2 VYmVEz+dYcdAbe+mfiSMIi2YXcTss5V8wvfEgBqF4z0iogKRyWuvWEOW3M7UPZJqhiBP2ywPan18D TAuDQpzy08Kdx3KRlIydCucGImEmuMA==; 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 1fcuQZ-0000xJ-2z for patchwork-linux-mediatek@patchwork.kernel.org; Tue, 10 Jul 2018 15:19:43 +0000 Received: from mout.kundenserver.de ([217.72.192.75]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fcuQO-0000lt-9A; Tue, 10 Jul 2018 15:19:33 +0000 Received: from wuerfel.lan ([46.223.138.35]) by mrelayeu.kundenserver.de (mreue105 [212.227.15.145]) with ESMTPA (Nemesis) id 0MabPt-1fNhzL2APZ-00K9tB; Tue, 10 Jul 2018 17:19:18 +0200 From: Arnd Bergmann To: Linus Walleij , Greg Kroah-Hartman Subject: [PATCH 1/2] gpio: mt7621: add OF_GPIO dependency Date: Tue, 10 Jul 2018 17:18:47 +0200 Message-Id: <20180710151915.2282622-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K1:NUlY5pvlps5aMCbaSfqT6ocqWCubQFTOY6X/Z/qC9kRGC5VUinc QLul2E8XytLuk8A3dzabMQ3xg6cx614p5lkiNDwbo50n96gnXUjW4MaimnDm5orMYYkdfTv cJMR88ostxx8bvK16Umbn1Hkv5AzGo7b3CeMprGQ8gnzbURoDXUFwUrV5XOenKDBNipMA54 w2xNxtGXxuKxU60m3a1Xg== X-UI-Out-Filterresults: notjunk:1; V01:K0:MGax+xdqfC8=:0aY9GO6XKGbmYMIfnsPAWn E6Wq1zlhdnWo3djJsf+olDdkBY08gQiadaLhPaUyYgNBjCLzsmFuqXn9ckzFFdRjO6RTcTOx7 8a26cjuZ6QTKi+GJ2aG+Yk3eDuJAtG3TAkrEbRxRcOxuv1nKVMiAaMmKRVkofd9P9OrO9nZbo g2xh80I2hKTMQMkcHsbvt12uPH3G8UklB0U1sZfKnMkr8pTliissFcwVEq9GVFJ+izEQYN2yV 62a1v1lKd80hX5yDY/aU3Fwq2NKmPDrsisjXxmK6Zf2kQY19TeRtquf5Yg7aJD+TTQUbxU/zb D0eH37w7vp7npwd7LLfnGxbr86daETotLUZ/Ghkz/SKb54/nDPhb8L/EbIFrk9jJp+4HOHQuf DPK1135PQmQYc4kifN6HYFrheOg2xaXQi8eWC3GhxbYATfy6wMtClCOY0CP+e5HJzE5punfNE +LyQZ25yeKL1013al9usnxXehWi64EYHY1SaPglgXqljbxU3xTmBcKfIkjJya72xjQCaT5VbM w67KLNkEKddGOBIZ3HS01H1CUxMyB8ry/aQDldnzr2Jwo/Hwca2ud/UAf0pNYboO0ldJD8poF 5XqiREiqgNVf/lYlUGa1iCW+Gu1XRSxhKm1xmLH3f+DYHQ+IAvSZiTTDJnidJ8XKFN252ifgl ozBEpMxBi/9CZsyKF1My9eGTJwrFMpj/1XS6pgcN5UcK+lEJDD+eH4EIchTEwCakNV84= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180710_081932_627472_DB60F9AC X-CRM114-Status: UNSURE ( 9.50 ) 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: Arnd Bergmann , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Sergio Paracuellos , 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 Compile-testing the driver fails unless OF_GPIO is enabled: drivers/gpio/gpio-mt7621.c: In function 'mediatek_gpio_bank_probe': drivers/gpio/gpio-mt7621.c:228:10: error: 'struct gpio_chip' has no member named 'of_node' Fixes: 4ba9c3afda41 ("gpio: mt7621: Add a driver for MT7621") Signed-off-by: Arnd Bergmann --- drivers/gpio/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 836aa2173e44..7429b30e61b0 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -362,6 +362,7 @@ config GPIO_MPC8XXX config GPIO_MT7621 bool "Mediatek MT7621 GPIO Support" depends on SOC_MT7620 || SOC_MT7621 || COMPILE_TEST + depends on OF_GPIO select GPIO_GENERIC select GPIOLIB_IRQCHIP help