From patchwork Tue Apr 19 12:10:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102493 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp1810685qge; Tue, 19 Apr 2016 05:10:31 -0700 (PDT) X-Received: by 10.66.222.3 with SMTP id qi3mr3533100pac.24.1461067831163; Tue, 19 Apr 2016 05:10:31 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g76si11434817pfg.142.2016.04.19.05.10.30; Tue, 19 Apr 2016 05:10:31 -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 S1752468AbcDSMKa (ORCPT + 4 others); Tue, 19 Apr 2016 08:10:30 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:61087 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752113AbcDSMK3 (ORCPT ); Tue, 19 Apr 2016 08:10:29 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue104) with ESMTPA (Nemesis) id 0Lz2g4-1bnsQJ2gkq-014EoC; Tue, 19 Apr 2016 14:10:23 +0200 From: Arnd Bergmann To: Linus Walleij Cc: Liu Gang , Arnd Bergmann , Alexandre Courbot , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] gpio/qoriq: select IRQ_DOMAIN Date: Tue, 19 Apr 2016 14:10:08 +0200 Message-Id: <1461067821-2031706-1-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 X-Provags-ID: V03:K0:pyKHFXfMrfYqbzUec91e3MJBfEuALL8mpLl6+F0tHuSwDOI1lub lSwmXjl54It6ecnikqXtGjEh4qr8YT0n0HosHah6cXVN6sEwz8a3id7BzDdEucuvv2DGt6M FUt+BDUS9W9Tn9pLbV2J8hY8bFwHRMjndVy5dFVjjLE3ZOGUqAWoLPwD9CbwjK4gc4X79NT t3ln+Zcp28eL87ApyrJxA== X-UI-Out-Filterresults: notjunk:1; V01:K0:FL8zw/tT+Do=:ZOMXpWdN+YWWYx9mG2TfEL op20cpkjU8NzJ7ldHjYJ6G3mhP4CYO3FqOBkORmuAeDw+ib8X4PGYMeN+yKQO6wdd52qTPub9 vBrO1K7ud1watof6evQKnN6IIMGjzGoIOF2kusmMvvvRgQDv7WWzY0kIvCQJGibUsFIby7S2y 59ZhgAWVAWOO6aSc/OHRQnAP9SwIXT/eCi4NqPRUpLDIEkKq9ACERgFfXGaeGtRLucEHrsDpF DN8567Wq/13THy4Ono/CTwnCbL+4VkCaZ/C4Pi9IOkYzLT9KSyz11M6eCWmvQwmBnyCGkUAVI 9bcSTJVAPhpNWNBSnu0+HfaR+u15tf/lb/dpAK9hTQ5WlwCG0Wq/DdGguKQmC1J2QLuYoYzun UGzUGCzmRfIXDcqhv/kIQuWALBhGqcZaqDdfmKiGa2DhJk10fgoYFV2h8hOnHuX8HlNm1rBYo ScDPojFgmW7GSEO+EwNRi6kS+8Nw89cR/9CgTfkMnYb3DUo/vOORifwkOx24lIxia8sBD+Ccg B19E0wk81hD4TDkHGEx06+kGr1tokMKgYj4NmR1K7QWEYbzQLGe+6XiAeT1MCzyHaCkxpGPnQ QrahPcIlWOvNATRKrlOUC8wkwW5N+9mhaTo7k1bFL5aJXvpxokm2JyXR3yx20epK2i10EYDBY qUr5CFg5HMrQydmxmQ9auhzIvLbw6x/XX7fJOFtdIMURGeg1F8a9w5fyn9JDmp3bawdU= Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The gpio-mpc8xxx driver requires IRQ domains but can be built without them, resulting on a failure to build certain randconfigs on ARM: drivers/gpio/gpio-mpc8xxx.c: In function 'mpc8xxx_gpio_to_irq': drivers/gpio/gpio-mpc8xxx.c:92:10: error: implicit declaration of function 'irq_create_mapping' [-Werror=implicit-function-declaration] return irq_create_mapping(mpc8xxx_gc->irq, offset); This selects IRQ_DOMAIN from the driver to ensure we can build it. Signed-off-by: Arnd Bergmann Fixes: 5df7fd46b70b ("gpio/qoriq: Add qoriq platforms support") --- drivers/gpio/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.7.0 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index f73f26b43532..dcdf3fb301d1 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -304,6 +304,7 @@ config GPIO_MPC8XXX FSL_SOC_BOOKE || PPC_86xx || ARCH_LAYERSCAPE || ARM || \ COMPILE_TEST select GPIO_GENERIC + select IRQ_DOMAIN help Say Y here if you're going to use hardware that connects to the MPC512x/831x/834x/837x/8572/8610/QorIQ GPIOs.