From patchwork Tue Feb 16 14:54:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102774 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp1711883lbl; Tue, 16 Feb 2016 06:57:42 -0800 (PST) X-Received: by 10.66.102.8 with SMTP id fk8mr31853189pab.12.1455634662122; Tue, 16 Feb 2016 06:57:42 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 70si51677370pfn.223.2016.02.16.06.57.41; Tue, 16 Feb 2016 06:57:42 -0800 (PST) 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 S1755272AbcBPO5k (ORCPT + 30 others); Tue, 16 Feb 2016 09:57:40 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:55459 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751730AbcBPO5i (ORCPT ); Tue, 16 Feb 2016 09:57:38 -0500 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue004) with ESMTPA (Nemesis) id 0M6yZd-1ZkJfZ1tzx-00wmeK; Tue, 16 Feb 2016 15:54:32 +0100 From: Arnd Bergmann To: Lee Jones Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Markus Pargmann , Denis Carikli , Juergen Borleis , Jonathan Cameron , linux-kernel@vger.kernel.org Subject: [PATCH] mfd: fsl-imx25-tsadc: select IRQ_DOMAIN Date: Tue, 16 Feb 2016 15:54:24 +0100 Message-Id: <1455634467-2013548-1-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sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The newly added tsadc code use irq domains, but it can be enabled when they are disabled in Kconfig: drivers/mfd/fsl-imx25-tsadc.c:41:22: error: implicit declaration of function 'irq_find_mapping' [-Werror=implicit-function-declaration] generic_handle_irq(irq_find_mapping(tsadc->domain, 1)); drivers/mfd/fsl-imx25-tsadc.c: In function 'mx25_tsadc_setup_irq': drivers/mfd/fsl-imx25-tsadc.c:80:18: error: implicit declaration of function 'irq_domain_add_simple' [-Werror=implicit-function-declaration] This adds a 'select IRQ_DOMAIN' code, like we have it in all other drivers with this requirement. Signed-off-by: Arnd Bergmann Fixes: e2fccf5c1515 ("mfd: fsl-imx25-tsadc: Register touchscreen ADC driver") --- drivers/mfd/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.7.0 diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index aa21dc55eb15..8cab3ecca8fc 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -300,6 +300,7 @@ config MFD_MC13XXX_I2C config MFD_MX25_TSADC tristate "Freescale i.MX25 integrated Touchscreen and ADC unit" select REGMAP_MMIO + select IRQ_DOMAIN depends on (SOC_IMX25 && OF) || COMPILE_TEST help Enable support for the integrated Touchscreen and ADC unit of the