From patchwork Mon Jun 17 12:24:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 167000 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp2797236ilk; Mon, 17 Jun 2019 05:25:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqxoueGRbMo/r+O7Q3oi0Yr27iemkd7wM7Wj1sQfFPjCy7DZdR4cvNGy7rNHC+y8ZwBycX92 X-Received: by 2002:a17:902:9a06:: with SMTP id v6mr89259156plp.71.1560774304404; Mon, 17 Jun 2019 05:25:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560774304; cv=none; d=google.com; s=arc-20160816; b=nTzPUzU8PJVfWSd0bzfadkVTQHyHx0pZZnIQfSdMIZWFYf+MTaG5i4+UZ9hqycZl+9 9tDWVwzHehWMSraCCgUMox/6Kk9Cq5pfQ8fZ6DNbPFcGibXYN3cNtT32dCDLT2WvzTQq b8rho/yGHxeUP2Oy88tcVuYMU9ofRLP06wpj1hje2kwevZMm/Qf11HBcE2AQiIXpku7G OVc0yJmflh/YL83b7qhJ3YFmCVF4Ezn9REmv236AWF8nLyxp+mWhrhyIuAAKkUalC2ae UxkTuCk2As5pB/u/0ttxves4jnR5jZKfm0LfQv1oYX5xxSyyFCDxXWKNU8147+7UF6Jh /uaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=/tik7mHtxCDV6A8O42RUSGJ5KK2UWS3KcWIH+W3/8f8=; b=ySIPfGvxuIMVFY2a7GCkQ5wAnzKPEZ3nOfxfAe+q3XgAeM/gLV3hk6mT3txeTkvT7A WVGSFwg9jxvCOD2ZAzER36QWVUfRCIhhgyvy+9p1DMckH4KhMJRuI8CbIzBwBS+TVjMv gYIV9xMJyhF5+5B3QJwUDNWF3mLkI+swRNAjRuu+t2b2mYH26bXeQAQwcoTQL+atUWoG XJtQuiv9yS74t8HiHkesrnrHYvp+/YGpctbEESL5BiAvABU3Et/o0diV5xraH8dVDUW1 ogA0joeib04jeenGQlrWgXIlAxpzg48dfWNZXfoaC/9dtLfhICzvWNEQo3zAdWFfjr5q lYkw== 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 l19si10536012pgb.204.2019.06.17.05.25.04; Mon, 17 Jun 2019 05:25:04 -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 S1727026AbfFQMZC (ORCPT + 26 others); Mon, 17 Jun 2019 08:25:02 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:40503 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725962AbfFQMZC (ORCPT ); Mon, 17 Jun 2019 08:25:02 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.129]) with ESMTPA (Nemesis) id 1My2pz-1iYGtf3Fa3-00zX9v; Mon, 17 Jun 2019 14:24:52 +0200 From: Arnd Bergmann To: arm@kernel.org, Linus Walleij , Imre Kaloz , Krzysztof Halasa Cc: Arnd Bergmann , Linus Walleij , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] ARM: ixp4xx: don't select SERIAL_OF_PLATFORM Date: Mon, 17 Jun 2019 14:24:30 +0200 Message-Id: <20190617122449.457744-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:izgkkqiYW3AxUHIzeLBlbI6TmUm8js3/ausmRdZTi/CUk41VLa9 9uUs0EqvMRyhEz1jdbrH9qH6zS/8Pv0IwVKAIGPqTim15RwAqastjBBINHUBtpf6wRpDBxi zHlpMkLW2JLoBoUvgxkXY9brNtuux8UgfBUD697Lg7hwF3PomP3zhb6GmVPeN41pSlV3Urj 2tZu7AQ/6U54PeHUDxzLg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:z6sxF1MZXgA=:hBHpgT3dNHS17k7G+0miEh 5X1qSU25Zi9I3CfnGXHI7EKElzzgYmsLcU6gQ5sDSrd46KHOz2hiNOzxgxGPKDPiSv9+tL9Fb 1mD8TTqBwbjAxrXxJUlcbeas8LZGS4n5CtoI4FoKrHzup3aAalavHvsGYrSWewu/zUvHx8LwP CWNIDnOHKgjQNb7xqXkTDyyXuNEiQ6RW08PI/p4gmPo16QixkrruddPAml7iebWL1iEEszmla N0GzFkPDc3iJrCXKGF9ttu4nE+NpwfaFzQK2iPR62rGqDUT5KdRiFMFzVbZK8AkNGpekv68T4 DGpYRQv/cyvtkRhaNk2lSV+lJzq/abF6yvvxTF/l6+w2g1C+k8IQlxw11KbAOjtJkxmQlEh9J BPcm9SPKGiHEDRMst2B7ggYJt1g/Xgia/XihoNueRTx5N3ek8mxcZ3LHxbBj5mpGvmB2Nwfl1 pJNQEn+428ZqhT3x0Gv5jGQk1vnRzPahdV+7CGlFMYwypb1iWdaKfVsietcY8jEoD5NEQBjci TeZakT3nauDqGyWFd6TVNcmbz+zL6nAZkHsbM11+sp0TN2gTqDM6T8Q5TAxRzwFLepkT9yqV3 oc1RpOW779Drw4pScIlWNVG6mUkxyhp9QkbDxroEdmyyy4vvmQVsFmR9N647EMj/NEg61gT6Z MUKd8v4gYWTD28wszdMT/qH5IizeXpEwjlykTnPDAkyDt27PhYxPPfmLXQE9HSCdp28XP7Z5P 6hteye4loSfIIqcazkMN7/3VUyK8rRTlFFL3nA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Platforms should not normally select all the device drivers, leave that up to the user and the defconfig file. In this case, we get a warning for randconfig builds: WARNING: unmet direct dependencies detected for SERIAL_OF_PLATFORM Depends on [n]: TTY [=y] && HAS_IOMEM [=y] && SERIAL_8250 [=n] && OF [=y] Selected by [y]: - MACH_IXP4XX_OF [=y] && ARCH_IXP4XX [=y] Fixes: 9540724ca29d ("ARM: ixp4xx: Add device tree boot support") Signed-off-by: Arnd Bergmann --- arch/arm/mach-ixp4xx/Kconfig | 1 - 1 file changed, 1 deletion(-) -- 2.20.0 diff --git a/arch/arm/mach-ixp4xx/Kconfig b/arch/arm/mach-ixp4xx/Kconfig index 2f052c56cd9e..fc5378b00f3d 100644 --- a/arch/arm/mach-ixp4xx/Kconfig +++ b/arch/arm/mach-ixp4xx/Kconfig @@ -13,7 +13,6 @@ config MACH_IXP4XX_OF select I2C select I2C_IOP3XX select PCI - select SERIAL_OF_PLATFORM select TIMER_OF select USE_OF help From patchwork Mon Jun 17 12:24:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 167001 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp2797891ilk; Mon, 17 Jun 2019 05:25:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmz7TuNszm1HGcZ/St8bQUcUdRy4e9QWlLMInh7Aibwl20ndqvzXzwQZ6CIUS5mK5Zli8B X-Received: by 2002:a17:90a:8d0c:: with SMTP id c12mr25005886pjo.140.1560774338430; Mon, 17 Jun 2019 05:25:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560774338; cv=none; d=google.com; s=arc-20160816; b=faXxi/rNkl1dCgX4K0L6zB6KWCjfpioqGJz0EUzTvjlj/Wm2bcHK6ZnAr23y+XWBjl KScmlF8KauJ3gmJEenYEuajzQAGXzGY59xSLhHEINi1wGcnE92uFudNxNAi9SJ61o/hM Y9Ekn2KRCAheWWsIzxSfESbM9iq+Rr4x26b5p7yYFNWondz9gUCXac/F8+Hm+H7dyklq zVsH1fm0hW6NrxRLK8dGpPi6c+wkWBtViP6Kj+v6yLZAIZqKQTm7MR2M0o0f7bnEEyDA OgHqMjXHgb05BCp1GkPXckqjzMrGjxxTVvLMGoMPaaYdMFoAUaV13l3qptLwPD7/MeUx +7Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Bq3AyNxt2lsBH9wvrOhBVUi9cwfufd4D6ZSu4lL7xug=; b=hyU2jJnhvNVZ3U5/3zLus+Mh9ud3vcWhbUw/4xb/LnH0NqwAGGEYZpcY6cjG43Pifz jUqBQ8AvwmEYz5NVE/KcCMbTxeAouMJe899tRaA3MgRn3wO1xyEjOP2rFtBv3RCJo4mx v4XT23wqOum85Z7/l5JSxLcpmJqKayUFZTQm1ezBdQDqwvl2L8RJuUFsshZtrvhIVo3Q hb2iKHU8DXy49zNMLLQ2+a155Nm0Um6QK0PTnC3xZXZ0aaQY49ixXRQrjq5UQ54rgH2q atbWtc/M1InOezVaJm81S4+Ef37cFdDPP3ncfBlnOHCHaPwbMQ1mpi3UIAjoqnVq6LyI mIZg== 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 f3si9361410plr.187.2019.06.17.05.25.38; Mon, 17 Jun 2019 05:25:38 -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 S1727430AbfFQMZg (ORCPT + 26 others); Mon, 17 Jun 2019 08:25:36 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:55181 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725973AbfFQMZg (ORCPT ); Mon, 17 Jun 2019 08:25:36 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.129]) with ESMTPA (Nemesis) id 1N95Rn-1ietfb3wbn-016B0V; Mon, 17 Jun 2019 14:25:29 +0200 From: Arnd Bergmann To: arm@kernel.org, Linus Walleij , Imre Kaloz , Krzysztof Halasa Cc: Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] ARM: ixp4xx: mark ixp4xx_irq_setup as __init Date: Mon, 17 Jun 2019 14:24:31 +0200 Message-Id: <20190617122449.457744-2-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190617122449.457744-1-arnd@arndb.de> References: <20190617122449.457744-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:CfnD4zPWOhfoEEt+/aRsFBaVUzGsrQvBx7m6qk640ipp4z5nl4t TDWUJOpBWr3Mi5Bwm6O1XCkdR1gUsL9Xr9MyjAbvJtIRmWaUPKlFVtQ+qwMZCAFtsbHxhF1 Tt/R4JggHGbNS2wANcBLECFtfMN0/DvlcWqwoxkuoREchnYLdYRf7eXf04VTiTyjXT/ER0V ceiPHFFJIMhaKYrZAh1Dg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:KZSi4hhzRXQ=:5JRWx406OFkC9CWGAFDw7N ZsdoxNqBpiy2pMOKqpj9CbGV/eeM/6TFHKpPMTdDrAsyAo53oHE6jSWKTxc72Cd1fT1HCPJTJ sYoggALe8wDKqg3Ci/1q8WBEB2ApUOfm7NZ0b+PWec0GvpQx2rA9o98y7IuuoZeOXrO4Utxbg jZ2TtzxizCnF3b6OJH/gGeFzoJhFTeQBkZeFCOgH+cfQ0q+rjzKQAtsl5MrTmyRrlB3FX3FBW hT/AmPcnu6zgeouhX96dowduS3EvT5iIEAFMoL23GdJ8Tfi8cJaq1YILWvBxXhkw/w5G5FRTQ W4Y0mRy7jKEzVPrkw2y+8t9Ugn0dE0gw1qj8++Ztk8ZK1tuKa0Bd87A9PlIrRA6esCjx8Zsln av10VaPjwu1zVqC/y6C06WQZuzIhlMRjgzKDih0vIwlHKta7jlUAwmkwEbeqAxt+ffnf7ykEF MatlVJ2SGsrMmVfJMDfcpoUiMYR8hGO1kgOdRbTJIWBjS35PkRWrRL2dUl5aE0Qa9NiSZrCRF ydnifDq9bNeHiRnC1OgEtKlXE7xlYhH0GaPxX8vpGKiieU4eHvDf+UMMSdxKZcOOBJuG9XwiJ 29EgNNoXbtuIiPvF26vvZ4Mrle1nLWnaLsJx7bdZtDJLpiTjs7n+tQ4OoPXEJTukTejhVl84C ySyEXoS1xzmDvKVPSsjW7yScwpn3eUKsd8zliHJg4lj0PXAXP+saVNdbLqGEuqbve0KjEhTw7 Aws9R1XLVqu9ZKJGGlYvNu6Dipb7fblBP0UjnoaFctbwXufiHDR6etFPE44= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kbuild complains about ixp4xx_irq_setup not being __init itself in some configurations: WARNING: vmlinux.o(.text+0x85bae4): Section mismatch in reference from the function ixp4xx_irq_setup() to the function .init.text:set_handle_irq() The function ixp4xx_irq_setup() references the function __init set_handle_irq(). This is often because ixp4xx_irq_setup lacks a __init annotation or the annotation of set_handle_irq is wrong. I suspect it normally gets inlined, so we get no such warning, but clang makes this obvious when the function is left out of line. Signed-off-by: Arnd Bergmann --- drivers/irqchip/irq-ixp4xx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.20.0 diff --git a/drivers/irqchip/irq-ixp4xx.c b/drivers/irqchip/irq-ixp4xx.c index d576809429ac..6751c35b7e1d 100644 --- a/drivers/irqchip/irq-ixp4xx.c +++ b/drivers/irqchip/irq-ixp4xx.c @@ -252,10 +252,10 @@ static const struct ixp4xx_irq_chunk ixp4xx_irq_chunks[] = { * @fwnode: Corresponding fwnode abstraction for this controller * @is_356: if this is an IXP43x, IXP45x or IXP46x SoC variant */ -static int ixp4xx_irq_setup(struct ixp4xx_irq *ixi, - void __iomem *irqbase, - struct fwnode_handle *fwnode, - bool is_356) +static int __init ixp4xx_irq_setup(struct ixp4xx_irq *ixi, + void __iomem *irqbase, + struct fwnode_handle *fwnode, + bool is_356) { int nr_irqs; From patchwork Mon Jun 17 12:24:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 167002 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp2798390ilk; Mon, 17 Jun 2019 05:26:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxNSsWWzYZJI+SNhSAcYdmnUTg5sVgK9OhPP3qqL0s30Wt0w9sOB1NsAOaEbEMnQcuO9Lxw X-Received: by 2002:a17:90a:8415:: with SMTP id j21mr25733405pjn.21.1560774366062; Mon, 17 Jun 2019 05:26:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560774366; cv=none; d=google.com; s=arc-20160816; b=cno9jEoG2/HUMKUB9TqAzuNQzUZFMCLseC51DFEJZHXX9MDliaMjvylhnj+tfrZtvk eyIz1R9S1lvA3Y84nqHnV63aukZWvMJCjP7FLgB8OtTu+x2FsIsFTdCPbzN68ACaDERQ +JhSn9lGNV/dAGV8wDkBmAkigKP/l++t6OvGh5sD5JTIDAfQOCLWv9lYrp6R/UJQ0es7 wTnzWCJ0AzJ9epTIjZLqtU7X2wRznpBwtsew4N8PysowDDJxaKMNx2s6q7HJ4wynFq+6 WpOWS0KyK4kEfQjUNrgOFsEU8+mhhQNMxff29RYWT8PqQV3g7adFAlmwiPP6IGUAGMYj jbJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=ECxTvPkp/+zAmQpNn8znNjMzH2+UT5oE6XaPEw5liCA=; b=WIrJ38F0xoi0rWYHYxciDpVeurb4ACFjpu5RPaUkb59Wqhc2oY91ekMnUI1x5PDzcu xyLMMTV9dlGEAyVTXN7FmhwpEjEVOP4qyzPMRAsqCFKRBLi1ur2d57yv4E4GXZiCGM+f UJAbgEZybK/nnmmlNYNvZxKL3J6BZ/fY0wiJEVP8oTv9AgfODCOgtivthPxbkdvCABgh vb4qvvcWJnq6vIMzHUHc7yEpgcEVqYsGoRwCgcO6rleHQpxnpUej6AXaXsElFEUjRkd8 1Ey+WkZgCkHfp/gznqag8VxKmxc0f101Yva6QjTUMU1ce0Y5K9QKwNQQ6E1SKUHwx30b Kxag== 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 w6si7428863pgs.103.2019.06.17.05.26.05; Mon, 17 Jun 2019 05:26:06 -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 S1727673AbfFQM0E (ORCPT + 26 others); Mon, 17 Jun 2019 08:26:04 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:36747 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726509AbfFQM0C (ORCPT ); Mon, 17 Jun 2019 08:26:02 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.129]) with ESMTPA (Nemesis) id 1MhDIw-1iFm1T14Ik-00eILm; Mon, 17 Jun 2019 14:25:53 +0200 From: Arnd Bergmann To: arm@kernel.org, Linus Walleij , Imre Kaloz , Krzysztof Halasa Cc: Arnd Bergmann , Linus Walleij , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] ARM: ixp4xx: include irqs.h where needed Date: Mon, 17 Jun 2019 14:24:32 +0200 Message-Id: <20190617122449.457744-3-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190617122449.457744-1-arnd@arndb.de> References: <20190617122449.457744-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:ogxG53xxYtKSunk3MRNQJAEkPnjE5pExadqIw1wtkbMkNmusoj9 aZO36fRS80Wu/8c4ipcqJ+zvnYjQNIkJR4SCcFvTYhva+3LV3IEq749pLMtw8R/r2KrLwWa FagBXt9Ly5NshVz8XjZe/q/y+qht9OjYIz8VcckwU498AqLWgRsBAQ2qnmu16n/lhR7Hx0E Yb0tA8yzzPP6mO9cbbGOw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:DfHKUbhazqM=:YDY2/2Alqmy6ferl84BsB7 aTPywctrbekMzh8cdM3EsbjDQAS4kYQ6x40t3G+jSNk1GCteQrQ9qaT8fJp2mp/2OCVzA8qsW kkSILkIdM8OVdMpuPg8+25kNURFM8JYrTL+TcbbHIx7k3Lq9R/vD0y+hU64s2LyqPPPh0slyn N3LnzMVWa4B1kQza2oz4IWYFWIhGuw4yPD4JOPm/ad6tagM9LxxM/TnaoBACJTKMLgQb8TpUb ZwuBcdk8NzAq9MYq3o0lou2x2/4ai9kFW+slBUVpBA6xGQkKz8+3xtq/OAkrBgrNlqdK++Djz tg4ZlQK6DbriSz0wargKxCiKpLafM6pwO28XW7V7aXdrBbcRivhAsohFrX7MqVhdlx9H3uiHN /8qILCdsv37YqYuxeFLHlcxdZoOmYpObWiDn3oe28Q0ks48ioZIstBoi6TW34Tk7Yh7LzBDuA QIJOBYHK2ybQccAFTmStPaVWx7bCXh44ts0sPkbzmDG/D8T2sq29iHcmy2biGDCeagMYL9H3A UI17s4Xo4o/GpKfGrVvHJCMRdchId8Zp79M0FLgG7WmremXejp11NuqPIPOKMgGK7xdmZi0Vq orq/NVKHc1ccDZL/aCh5You0KvzNWInt+AIj2ePLJNfiMNWt5Z8Pt7nvlCkDMIrGdKGE4paH8 xMcxineZ/BYiWyGNDO77IJ5ZD6vqhh/8I54dPAAPmhlaFlGwH/D2bUmg8qz6U0Y9uGF+5CmY3 gMlxUwAqfuMJLxF4+45prNpvpPB2L/RelpYWQw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Multiple ixp4xx specific files require macros from irqs.h that were moved out from mach/irqs.h, e.g.: arch/arm/mach-ixp4xx/vulcan-pci.c:41:19: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] arch/arm/mach-ixp4xx/vulcan-pci.c:49:10: error: implicit declaration of function 'IXP4XX_GPIO_IRQ' [-Werror,-Wimplicit-function-declaration] return IXP4XX_GPIO_IRQ(INTA); Include this header in all files that failed to build because of that. Fixes: dc8ef8cd3a05 ("ARM: ixp4xx: Convert to SPARSE_IRQ") Signed-off-by: Arnd Bergmann --- arch/arm/mach-ixp4xx/goramo_mlr.c | 2 ++ arch/arm/mach-ixp4xx/miccpt-pci.c | 2 ++ arch/arm/mach-ixp4xx/omixp-setup.c | 2 ++ arch/arm/mach-ixp4xx/vulcan-pci.c | 2 ++ arch/arm/mach-ixp4xx/vulcan-setup.c | 2 ++ 5 files changed, 10 insertions(+) -- 2.20.0 diff --git a/arch/arm/mach-ixp4xx/goramo_mlr.c b/arch/arm/mach-ixp4xx/goramo_mlr.c index 4d805080020e..a0e0b6b7dc5c 100644 --- a/arch/arm/mach-ixp4xx/goramo_mlr.c +++ b/arch/arm/mach-ixp4xx/goramo_mlr.c @@ -18,6 +18,8 @@ #include #include +#include "irqs.h" + #define SLOT_ETHA 0x0B /* IDSEL = AD21 */ #define SLOT_ETHB 0x0C /* IDSEL = AD20 */ #define SLOT_MPCI 0x0D /* IDSEL = AD19 */ diff --git a/arch/arm/mach-ixp4xx/miccpt-pci.c b/arch/arm/mach-ixp4xx/miccpt-pci.c index d114ccd2017c..ca889ef068a5 100644 --- a/arch/arm/mach-ixp4xx/miccpt-pci.c +++ b/arch/arm/mach-ixp4xx/miccpt-pci.c @@ -25,6 +25,8 @@ #include #include +#include "irqs.h" + #define MAX_DEV 4 #define IRQ_LINES 4 diff --git a/arch/arm/mach-ixp4xx/omixp-setup.c b/arch/arm/mach-ixp4xx/omixp-setup.c index 2d494b454376..c02fa6f48382 100644 --- a/arch/arm/mach-ixp4xx/omixp-setup.c +++ b/arch/arm/mach-ixp4xx/omixp-setup.c @@ -27,6 +27,8 @@ #include +#include "irqs.h" + static struct resource omixp_flash_resources[] = { { .flags = IORESOURCE_MEM, diff --git a/arch/arm/mach-ixp4xx/vulcan-pci.c b/arch/arm/mach-ixp4xx/vulcan-pci.c index a4220fa5e0c3..6e41e5ece4e1 100644 --- a/arch/arm/mach-ixp4xx/vulcan-pci.c +++ b/arch/arm/mach-ixp4xx/vulcan-pci.c @@ -21,6 +21,8 @@ #include #include +#include "irqs.h" + /* PCI controller GPIO to IRQ pin mappings */ #define INTA 2 #define INTB 3 diff --git a/arch/arm/mach-ixp4xx/vulcan-setup.c b/arch/arm/mach-ixp4xx/vulcan-setup.c index 2c03d2f6b647..d2ebb7c675a8 100644 --- a/arch/arm/mach-ixp4xx/vulcan-setup.c +++ b/arch/arm/mach-ixp4xx/vulcan-setup.c @@ -22,6 +22,8 @@ #include #include +#include "irqs.h" + static struct flash_platform_data vulcan_flash_data = { .map_name = "cfi_probe", .width = 2,