From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 180FDC54EAA for ; Tue, 24 Jan 2023 13:42:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234272AbjAXNmY (ORCPT ); Tue, 24 Jan 2023 08:42:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234040AbjAXNmQ (ORCPT ); Tue, 24 Jan 2023 08:42:16 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F239457E6; Tue, 24 Jan 2023 05:42:00 -0800 (PST) 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 sin.source.kernel.org (Postfix) with ESMTPS id 79642CE1B21; Tue, 24 Jan 2023 13:41:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85ACEC433A8; Tue, 24 Jan 2023 13:41:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674567716; bh=WZl2eKdtabjmBmr+WssfJF8VVwfHHWPXijY6QfNZVV8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TCAvcOXtBNLSW3PzOF7d/JpKQXvQIBrrJX/m0MS6W6rZJSDfwVyH/p9fGAXR0jeve k5VgYWC97qBgJu3bd0LFyF6j+PTYCZ/HFrF1T689maVW5sVeXgSAF6ucsR1hPgftdW cbZQXo3yTItquCEioAV2N5W7ZXxJIx5S8wraJNaxSVmFB229IcEHXvM2ZMyz36Qw+x Yba0VSqOoCT6V+oJOaAdvkUJ8ZOY0U6FoxXloyzx1K5362viRA4CvvzX8yYZ6uguXr nt7f+37M3MBsQqGtL/74ClU/aeYF11yfehnry5/uj8oh8Hhx6knPSBy7wWBriKORPS JR09BdPSjORQQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Arnd Bergmann , Aaro Koskinen , Sasha Levin , jmkrzyszt@gmail.com, tony@atomide.com, linux@armlinux.org.uk, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH AUTOSEL 6.1 10/35] ARM: omap1: fix building gpio15xx Date: Tue, 24 Jan 2023 08:41:06 -0500 Message-Id: <20230124134131.637036-10-sashal@kernel.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230124134131.637036-1-sashal@kernel.org> References: <20230124134131.637036-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Arnd Bergmann [ Upstream commit 9d46ce57f4d1c626bb48170226ea5e35deb5877c ] 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, | ^~~~~~~~~ Acked-by: Aaro Koskinen Signed-off-by: Arnd Bergmann Signed-off-by: Sasha Levin --- 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" -- 2.39.0 From mboxrd@z Thu Jan 1 00:00:00 1970 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 09E48C25B4E for ; Tue, 24 Jan 2023 13:49:06 +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=7AdktjGpquO6SmjPj2ewVdT+o7Pt8cfJ5E8MGMtWZuI=; b=rVy+2DAccnuGys 2AUWlvl1e/1Fq2fxlGqDPgaQ35gDeYPI8C0C9MtEAVCPJTt1LsxzNkLoU8qfd4klv8TR6v5jONbll hTvlHhya0OwQ+brEe8E3wX+q3ZdUqzK/auPB2p7sctHzg14ywivNlwFIOrKPWK+QIOi3orz/X6U2A rAAmj2EfDiq1yUBHhUXnQuHDeypmRzN/4T9dQysD1C+1ZwbSL56d5k2TW6kngNFeHmtKaReL2HNS9 6oinPxooEwmh28Da03cOHDNhYbvE7I3dBxeZt0snVid2ZJ/LrH/wxYDWtbxcr8TuLoU76bHlAiH0u ol3KfuABjUCW4myWpkZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pKJec-004402-6K; Tue, 24 Jan 2023 13:48:02 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pKJYk-0040sN-9W for linux-arm-kernel@lists.infradead.org; Tue, 24 Jan 2023 13:41:59 +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 ams.source.kernel.org (Postfix) with ESMTPS id E43E4B811D5; Tue, 24 Jan 2023 13:41:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85ACEC433A8; Tue, 24 Jan 2023 13:41:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674567716; bh=WZl2eKdtabjmBmr+WssfJF8VVwfHHWPXijY6QfNZVV8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TCAvcOXtBNLSW3PzOF7d/JpKQXvQIBrrJX/m0MS6W6rZJSDfwVyH/p9fGAXR0jeve k5VgYWC97qBgJu3bd0LFyF6j+PTYCZ/HFrF1T689maVW5sVeXgSAF6ucsR1hPgftdW cbZQXo3yTItquCEioAV2N5W7ZXxJIx5S8wraJNaxSVmFB229IcEHXvM2ZMyz36Qw+x Yba0VSqOoCT6V+oJOaAdvkUJ8ZOY0U6FoxXloyzx1K5362viRA4CvvzX8yYZ6uguXr nt7f+37M3MBsQqGtL/74ClU/aeYF11yfehnry5/uj8oh8Hhx6knPSBy7wWBriKORPS JR09BdPSjORQQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Arnd Bergmann , Aaro Koskinen , Sasha Levin , jmkrzyszt@gmail.com, tony@atomide.com, linux@armlinux.org.uk, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH AUTOSEL 6.1 10/35] ARM: omap1: fix building gpio15xx Date: Tue, 24 Jan 2023 08:41:06 -0500 Message-Id: <20230124134131.637036-10-sashal@kernel.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230124134131.637036-1-sashal@kernel.org> References: <20230124134131.637036-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230124_054158_526660_325997C1 X-CRM114-Status: GOOD ( 13.05 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Arnd Bergmann [ Upstream commit 9d46ce57f4d1c626bb48170226ea5e35deb5877c ] 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, | ^~~~~~~~~ Acked-by: Aaro Koskinen Signed-off-by: Arnd Bergmann Signed-off-by: Sasha Levin --- 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" -- 2.39.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel