From patchwork Mon Jan 9 16:16:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13093822 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 622A9C5479D for ; Mon, 9 Jan 2023 16:18:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zIGVkl7X6KJtQg2XrQTX0VN+lLocjjCE2R6P036T24k=; b=5B9QHbKaMo0PMt QOpKkk1j2bn3bfP6VD9NhOQx4jqgXyVIU6uODHlqXCHYae1ts7WGVPyQ5PENnrj3T58j1PZguvL3f 3ckWm+co+SjM9reXxDte2kDYl/BjISccxH+CrWCgYZkbaYilDEGT5g7kvqCUYZKxtYy8pNX0UZJbt hPkvDg7sAMRSSdtNYrMT05EApaJQ1QyCWF9CA/XQpXz0092kcT2EYxCMohf6hLRybG1RgPvVgMFlM UhB5zSqodFpbHxrAtamLPrhS1dWeOTHAJD4lpMakFm51SCnNLFDP9K5a3KQsq69Fd0lxNeWSldl/l O6YsXW1+Tnjdbg9AEQSA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pEupv-002Wq2-EH; Mon, 09 Jan 2023 16:17:23 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pEupS-002WfO-Lh for linux-arm-kernel@lists.infradead.org; Mon, 09 Jan 2023 16:16:56 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 34CFA6118C; Mon, 9 Jan 2023 16:16:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6FA60C433F2; Mon, 9 Jan 2023 16:16:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673281013; bh=maFSsDjqqGGoQ3/lQVYYKJAVzHG0X16yepNh/8qHMfo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZnXMUvjQXJEPbmIqZNiLAt1EAD0poi72kefAuSolZ3TlwF8VRF24JqaT9qfijYUSH fkpByvhw2SACz18AdEZbHqLNZt9V5zBr4aW1Ofd4XW6ZidjsSgQk76Z5Drjb7+exEI 3dui/CxNvFPu0anR9HCj8zR5CZrA2p4GO8Hh+RbqZBF4BLlylSnhaRKGRfYBVGi8uK 5iF66Igh7fTo7R3moLgnkya2mlAjVH5medE7VcER/pb8za0KIkH3bzRArqap8/3DrQ 015NMAOgebqVfUYWaQ/8N6PXaORliBTRUOcDMKq3lJwYp4irYujbeFi8CufKjY1Vif fJcVd8WxU2Fjg== From: Arnd Bergmann To: Aaro Koskinen , Janusz Krzysztofik , Tony Lindgren , linux-omap@vger.kernel.org, Robert Jarzmik Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Daniel Mack , Haojian Zhuang , Arnd Bergmann Subject: [PATCH 3/3] ARM: omap1: fix building gpio15xx Date: Mon, 9 Jan 2023 17:16:36 +0100 Message-Id: <20230109161636.512203-4-arnd@kernel.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230109161636.512203-1-arnd@kernel.org> References: <20230109161636.512203-1-arnd@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230109_081654_804350_A776C9DC X-CRM114-Status: GOOD ( 14.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Arnd Bergmann In some randconfig builds, the asm/irq.h header is not included in gpio15xx.c, so add an explicit include to avoid a build fialure: In file included from arch/arm/mach-omap1/gpio15xx.c:15: arch/arm/mach-omap1/irqs.h:99:34: error: 'NR_IRQS_LEGACY' undeclared here (not in a function) 99 | #define IH2_BASE (NR_IRQS_LEGACY + 32) | ^~~~~~~~~~~~~~ arch/arm/mach-omap1/irqs.h:105:38: note: in expansion of macro 'IH2_BASE' 105 | #define INT_MPUIO (5 + IH2_BASE) | ^~~~~~~~ arch/arm/mach-omap1/gpio15xx.c:28:27: note: in expansion of macro 'INT_MPUIO' 28 | .start = INT_MPUIO, | ^~~~~~~~~ Signed-off-by: Arnd Bergmann Acked-by: Aaro Koskinen --- arch/arm/mach-omap1/gpio15xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap1/gpio15xx.c b/arch/arm/mach-omap1/gpio15xx.c index c675f11de99d..61fa26efd865 100644 --- a/arch/arm/mach-omap1/gpio15xx.c +++ b/arch/arm/mach-omap1/gpio15xx.c @@ -11,6 +11,7 @@ #include #include #include +#include #include "irqs.h"