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: 141515 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4018183ljj; Tue, 10 Jul 2018 08:19:41 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcMHThzUfMT6VvvP7WXmth86KYkT/pmhO4zTLgXugOKmX5lYm3OQgkj37ZEw+qsXPnc1zaa X-Received: by 2002:a62:d10b:: with SMTP id z11-v6mr26151834pfg.255.1531235981727; Tue, 10 Jul 2018 08:19:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531235981; cv=none; d=google.com; s=arc-20160816; b=ZV4OhLfOU57/I2GQ0pew8p1hbzRHGzcSh5YSwjnUGeeiSdKJiv5KM57B5liiDeCa50 ZszSODvoz7hTW/puCzJo/KMH7FiOTAhF1MziUdsFOkJIgz8nKv/tsxojKNNUq+rffCH5 OXymq3RbwOzydI/N1Ov9vBeARqLRx1JqaOMz9y1jPrZe94L8KyulDrtbi53YwVzfDIer tP0IGixPtBQNvcAaNESvq6zrJEUhkJ5VF1Vsp0Bc2qk9FVkdzz08duH51TT8+IO5B/zM azROOrL3Z26sUzwxwmma6LmGDTCTYoxI3bH+YgzpAbvaoJXsj9BF57nVfTT39VFIqbbs YwPg== 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 :arc-authentication-results; bh=EKQhDqIzNRzVVtEr0Y1Zosb2SpLMvBSatgxdX943t/I=; b=I+vgudJ+BbYhEs2uG2LJpdfw4jI+zAzmXoyDCEEhJZl4ZvG7eojU3jBWeAfbjncCUN sS1admQbjIxN03bw+7uEtD7cKeGN6fA2ojBezAQqRijVcBQ6rBaGKj+L3AKqqEItLKF9 s3XezKuDe3YImo+HX8epwoyxfS6lZlp9W7hX54Py7VBBi0l1Q6AdmIBimuvXBPjqAvZ9 5RF0izVDTUj/WuP8RbdEF614G4Hbs1+joxcNVyJtHkbH4x82H7X+9ALgFEPnoPY6mW+2 alQ5dmvgLtantHzKbvb0sRCIe0BDyOoC7o4SFe8xdm86mS5Y0Bo9Pejgc11evognTmM6 lO4A== 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 n125-v6si16375162pga.376.2018.07.10.08.19.41; Tue, 10 Jul 2018 08:19:41 -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 S934062AbeGJPTh (ORCPT + 15 others); Tue, 10 Jul 2018 11:19:37 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:39799 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933890AbeGJPTf (ORCPT ); Tue, 10 Jul 2018 11:19:35 -0400 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 Cc: Sergio Paracuellos , Arnd Bergmann , Matthias Brugger , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org 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= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.9.0 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